Skip to content

Commit

Permalink
hard-code "/" for logo link
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 committed Oct 31, 2024
1 parent 3409ee6 commit 7bcd210
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions generator/konfig-next-app/src/components/LayoutHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const LayoutHeader = observer(
cta: NonNullable<KonfigYamlCommonType['portal']>['cta'] | null
}) => {
const theme = useMantineTheme()
const baseUrl = useBaseUrl()
const hasLightAndDarkLogo = typeof logo !== 'string'
const color = useHeaderColor({ hasLightAndDarkLogo })
const { classes } = useLogoStyles()
Expand Down Expand Up @@ -84,7 +83,7 @@ export const LayoutHeader = observer(
}}
className="h-1/3"
>
<Link style={{ position: 'relative' }} href={baseUrl}>
<Link style={{ position: 'relative' }} href={'/'}>
<img
className={clsx(classes.logo, 'h-full')}
alt="logo"
Expand Down

0 comments on commit 7bcd210

Please sign in to comment.