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