Skip to content

Commit

Permalink
reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamarcke committed Mar 8, 2023
1 parent e72c522 commit 98476ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/Bibliomar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { BrowserRouter } from "react-router-dom";
import { hasStorage } from "./components/general/helpers/generalFunctions";
import useLocalStorage from "./components/general/helpers/useLocalStorage";
import Themeing from "./Themeing";
import Maintanance from "./components/general/Maintanance";

// This is just a wrapper on top of <App /> to help us use contexts better.
// If a context is used application-wise, provide it here.
Expand Down Expand Up @@ -98,7 +97,7 @@ export default function Bibliomar() {
document.head.append(mdbStyle, themeStyle);
setTimeout(() => {
setThemeing(false);
}, 750);
}, 500);
});
});
}, [theme]);
Expand All @@ -112,7 +111,7 @@ export default function Bibliomar() {
<Helmet>
<title>Bibliomar</title>
</Helmet>
<Maintanance />
{themeing ? <Themeing /> : <App />}
</>
</ThemeContext.Provider>
</AuthContext.Provider>
Expand Down
4 changes: 3 additions & 1 deletion src/components/general/Maintanance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ export default function Maintanance() {
textAlign: "center",
}}
>
Estamos realizando uma manutenção rápida, voltamos logo!
{t(
"general:estamosRealizandoUmaManutenoRpidaVoltamosLogo"
)}
</p>
</div>
</div>
Expand Down

0 comments on commit 98476ac

Please sign in to comment.