diff --git a/web/src/App.tsx b/web/src/App.tsx index 7996ccf..d77d858 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -13,7 +13,10 @@ import {vars} from "./api/api"; function App() { - const [error, setError] = React.useState<{ title?: string, message?: string } | null>(null); + const [error, setError] = React.useState<{ + title?: string, + message?: string + } | null>(null); useEffect(() => { vars.setErrorPopup = (title: string | null, message: string | null) => { @@ -28,7 +31,8 @@ function App() {
- {error && } + {error && + }
}/> @@ -36,12 +40,32 @@ function App() { }/> }/> }/> - }/> + }/>