diff --git a/src/jsx/pages/App.jsx b/src/jsx/pages/App.jsx index 3ec19c3..9d8897d 100644 --- a/src/jsx/pages/App.jsx +++ b/src/jsx/pages/App.jsx @@ -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"; @@ -43,8 +43,6 @@ function App() { return ( - - {import.meta.env.PROD && } - {/* {loading ? ( + {loading ? ( - ) : ( */} + ) : ( - {/* )} */} + )} ); diff --git a/vite.config.js b/vite.config.js index 9a18175..2f4c9b0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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",