Skip to content

Commit 7bcd210

Browse files
author
dphuang2
committed
hard-code "/" for logo link
1 parent 3409ee6 commit 7bcd210

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

generator/konfig-next-app/src/components/LayoutHeader.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export const LayoutHeader = observer(
4848
cta: NonNullable<KonfigYamlCommonType['portal']>['cta'] | null
4949
}) => {
5050
const theme = useMantineTheme()
51-
const baseUrl = useBaseUrl()
5251
const hasLightAndDarkLogo = typeof logo !== 'string'
5352
const color = useHeaderColor({ hasLightAndDarkLogo })
5453
const { classes } = useLogoStyles()
@@ -84,7 +83,7 @@ export const LayoutHeader = observer(
8483
}}
8584
className="h-1/3"
8685
>
87-
<Link style={{ position: 'relative' }} href={baseUrl}>
86+
<Link style={{ position: 'relative' }} href={'/'}>
8887
<img
8988
className={clsx(classes.logo, 'h-full')}
9089
alt="logo"

0 commit comments

Comments
 (0)