Fix click on logo breaking config changes

Just removed the link on the logo
This commit is contained in:
ajnart
2022-11-22 11:23:01 +09:00
committed by ajnart
parent a6694d81d8
commit 7ac852426e

View File

@@ -18,26 +18,18 @@ export function Logo({ style, withoutText }: any) {
}}
/>
{withoutText ? null : (
<NextLink
href="/"
style={{
textDecoration: 'none',
position: 'relative',
<Text
sx={style}
weight="bold"
variant="gradient"
gradient={{
from: primaryColor,
to: secondaryColor,
deg: 145,
}}
>
<Text
sx={style}
weight="bold"
variant="gradient"
gradient={{
from: primaryColor,
to: secondaryColor,
deg: 145,
}}
>
{config.settings.title || 'Homarr'}
</Text>
</NextLink>
{config.settings.title || 'Homarr'}
</Text>
)}
</Group>
);