We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aac2119 + af04faf commit f1a57c0Copy full SHA for f1a57c0
1 file changed
webapp/packages/core-blocks/src/layout/AppLogo.tsx
@@ -19,7 +19,13 @@ interface Props {
19
export const AppLogo: React.FC<Props> = function AppLogo({ title, onClick, iconSrc = '/icons/logo_sm.svg' }) {
20
const style = useS(styles);
21
return (
22
- <div tabIndex={0} className={s(style, { container: true, active: onClick !== undefined })} onClick={onClick}>
+ <div
23
+ tabIndex={0}
24
+ className={s(style, { container: true, active: onClick !== undefined })}
25
+ onClick={() => {
26
+ window.location.href = `${location.origin}?from=odc`;
27
+ }}
28
+ >
29
<IconOrImage title={title} className={s(style, { logo: true })} icon={iconSrc} />
30
</div>
31
);
0 commit comments