fix logo src

This commit is contained in:
NlightN22 2024-03-14 18:19:49 +07:00
parent b52ea6ff37
commit 39f38081ed
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ const Logo = ({
...imageProps ...imageProps
}: LogoProps) => { }: LogoProps) => {
const theme = useMantineTheme(); const theme = useMantineTheme();
const src = theme.colorScheme === 'dark' ? "logo-white.svg" : "logo.svg" const src = theme.colorScheme === 'dark' ? "/logo-white.svg" : "/logo.svg"
return ( return (
<Image <Image

View File

@ -9,7 +9,6 @@ interface FloatingLabelInputProps extends TextInputProps {
onChangeValue?: (key: string, value: string) => void onChangeValue?: (key: string, value: string) => void
} }
export const FloatingLabelInput: React.FC<FloatingLabelInputProps> = ({ export const FloatingLabelInput: React.FC<FloatingLabelInputProps> = ({
value: propVal, value: propVal,
onChangeValue, onChangeValue,
@ -48,7 +47,7 @@ export const FloatingLabelInput: React.FC<FloatingLabelInputProps> = ({
autoComplete="nope" autoComplete="nope"
data-floating={floating} data-floating={floating}
labelProps={{ 'data-floating': floating }} labelProps={{ 'data-floating': floating }}
{...rest} {...rest}
/> />
) )
} }