fixed skill issue xd

This commit is contained in:
Ayaka
2022-10-16 21:39:36 +00:00
parent a78d427852
commit 26f17de24c
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
//remove service worker, cache, and reload page
if ("serviceWorker" in navigator) {
navigator.serviceWorker.getRegistrations().then(function (registrations) {
for (let registration of registrations) {
registration.unregister();
}
});
}
caches.keys().then(function (names) {
for (let name of names) caches.delete(name);
});
window.location.reload(true);

View File

@@ -1,7 +1,7 @@
import React from "react";
import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./App.dev";
import App from "./App";
import { ThemeProvider, createTheme } from "@mui/material/styles";
import CssBaseline from "@mui/material/CssBaseline";