Skip to content

Commit

Permalink
revert commit
Browse files Browse the repository at this point in the history
  • Loading branch information
issam-seghir committed Dec 14, 2023
1 parent 4851c8d commit fed63d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 4 additions & 6 deletions src/jsx/pages/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import GlobalStyles from "@mui/joy/GlobalStyles";
import Sheet from "@mui/joy/Sheet";
import { CssVarsProvider } from "@mui/joy/styles";
import Loading from "@pages/Loading";
import { HelmetProvider, Helmet } from "react-helmet-async";
import { HelmetProvider } from "react-helmet-async";
import { Outlet } from "react-router-dom";

import Header from "@jsx/components/layout/Header";
Expand Down Expand Up @@ -43,8 +43,6 @@ function App() {
return (
<CssVarsProvider theme={theme} defaultMode="system">
<HelmetProvider>
<Helmet>
{import.meta.env.PROD && <link rel="preload" href="assets/inter-latin-400-normal.woff2" as="font" type="font/woff2" crossOrigin="anonymous" />}</Helmet>
<GlobalStyles
styles={{
"svg.icon": {
Expand All @@ -63,9 +61,9 @@ function App() {

<Seo title={title} description={description} name={name} type={type} />

{/* {loading ? (
{loading ? (
<Loading />
) : ( */}
) : (
<Sheet
variant="plain"
className={status.bgBlurAll ? "bg-rainbow-blur" : ""}
Expand Down Expand Up @@ -163,7 +161,7 @@ function App() {
<Outlet />
</Box>
</Sheet>
{/* )} */}
)}
</HelmetProvider>
</CssVarsProvider>
);
Expand Down
3 changes: 1 addition & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export default defineConfig(({ command, mode, ssrBuild }) => ({
// "~gerillass": path.resolve(__dirname, "node_modules/gerillass/scss/gerillass.scss"),
], */
},
plugins: [
million.vite({ auto: true }),
plugins: [million.vite({ auto: true }),
[react()],
ViteAliases({
dir: "src",
Expand Down

0 comments on commit fed63d2

Please sign in to comment.