This commit is contained in:
koalasat 2024-10-19 16:00:13 +02:00
parent 3f882db902
commit 092af525b1
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157

View File

@ -209,9 +209,8 @@ export const AppContextProvider = ({ children }: AppContextProviderProps): JSX.E
initialAppContext.slideDirection,
);
const [open, setOpen] = useState<OpenDialogs>(initialAppContext.open);
const [windowSize, setWindowSize] = useState<WindowSize>(
() => getWindowSize(theme.typography.fontSize),
O,
const [windowSize, setWindowSize] = useState<WindowSize>(() =>
getWindowSize(theme.typography.fontSize),
);
const [fav, setFav] = useState<Favorites>(initialAppContext.fav);
const [acknowledgedWarning, setAcknowledgedWarning] = useState<boolean>(