Skip to content

Commit

Permalink
fix: correct background when using on web
Browse files Browse the repository at this point in the history
  • Loading branch information
LowderPlay committed Oct 15, 2023
1 parent fcf1f15 commit a54ae71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Root.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Box, CircularProgress, Stack, ThemeProvider} from "@mui/material";
import {Box, CircularProgress, CssBaseline, Stack, ThemeProvider} from "@mui/material";
import {Outlet, useLocation} from "react-router-dom";
import {FC, useContext} from "react";
import useTelegramBackButton from "./hooks/telegram/useTelegramBackButton.ts";
Expand Down Expand Up @@ -28,6 +28,7 @@ const Root: FC = () => {
return (
<>
<ThemeProvider theme={theme}>
<CssBaseline />
<Box sx={{padding: 1.5}}>
{!encryptionManager?.storageChecked ? <LoadingIndicator/> :
(!encryptionManager.passwordCreated ? <PasswordSetup/> :
Expand Down

0 comments on commit a54ae71

Please sign in to comment.