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 : ( {withoutText ? null : (
<NextLink <Text
href="/" sx={style}
style={{ weight="bold"
textDecoration: 'none', variant="gradient"
position: 'relative', gradient={{
from: primaryColor,
to: secondaryColor,
deg: 145,
}} }}
> >
<Text {config.settings.title || 'Homarr'}
sx={style} </Text>
weight="bold"
variant="gradient"
gradient={{
from: primaryColor,
to: secondaryColor,
deg: 145,
}}
>
{config.settings.title || 'Homarr'}
</Text>
</NextLink>
)} )}
</Group> </Group>
); );