Merge pull request #513 from ajnart/512-clicking-logo-resets-all-settings

Fix click on logo breaking config changes
This commit is contained in:
Thomas Camlong
2022-11-22 17:44:51 +09:00
committed by GitHub

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>
); );