From 39f38081ed27cdeea48c18767b1c0002f062ea60 Mon Sep 17 00:00:00 2001 From: NlightN22 Date: Thu, 14 Mar 2024 18:19:49 +0700 Subject: [PATCH] fix logo src --- src/shared/components/images/LogoImage.tsx | 2 +- src/shared/components/inputs/FloatingLabelInput.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/shared/components/images/LogoImage.tsx b/src/shared/components/images/LogoImage.tsx index faa509a..2df4605 100644 --- a/src/shared/components/images/LogoImage.tsx +++ b/src/shared/components/images/LogoImage.tsx @@ -11,7 +11,7 @@ const Logo = ({ ...imageProps }: LogoProps) => { const theme = useMantineTheme(); - const src = theme.colorScheme === 'dark' ? "logo-white.svg" : "logo.svg" + const src = theme.colorScheme === 'dark' ? "/logo-white.svg" : "/logo.svg" return ( void } - export const FloatingLabelInput: React.FC = ({ value: propVal, onChangeValue, @@ -48,7 +47,7 @@ export const FloatingLabelInput: React.FC = ({ autoComplete="nope" data-floating={floating} labelProps={{ 'data-floating': floating }} - {...rest} + {...rest} /> ) }