Skip to content

Commit

Permalink
fix: remove pwa deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Dec 6, 2024
1 parent 73cc1b6 commit 3961338
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 81 deletions.
2 changes: 0 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Server from "./pages/Server";
import ServerDetail from "./pages/ServerDetail";
import NotFound from "./pages/NotFound";
import ErrorPage from "./pages/ErrorPage";
import ReloadPrompt from "./components/ReloadPrompt";

const App: React.FC = () => {
return (
Expand All @@ -21,7 +20,6 @@ const App: React.FC = () => {
<Route path="*" element={<NotFound />} />
</Routes>
<Footer />
<ReloadPrompt />
</main>
</div>
</Router>
Expand Down
49 changes: 0 additions & 49 deletions src/components/ReloadPrompt.tsx

This file was deleted.

27 changes: 0 additions & 27 deletions src/vite-env.d.ts

This file was deleted.

4 changes: 1 addition & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export default defineConfig({
define: {
"import.meta.env.VITE_GIT_HASH": JSON.stringify(getGitHash()),
},
plugins: [
react(),
],
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
Expand Down

0 comments on commit 3961338

Please sign in to comment.