Fixed Dockerfile and Loading component

This commit is contained in:
Fernando Videira
2024-06-16 04:46:47 +01:00
parent 598395aebe
commit 13212f6170
5 changed files with 31 additions and 21 deletions
+2 -1
View File
@@ -5,11 +5,12 @@ import "./index.css";
import { BrowserRouter } from "react-router-dom";
import "./i18n";
import Loading from "./Components/Loading.tsx";
ReactDOM.createRoot(document.getElementById("root")!).render(
<BrowserRouter>
<React.StrictMode>
<Suspense fallback="...is loading">
<Suspense fallback={<Loading />}>
<App />
</Suspense>
</React.StrictMode>