forked from abner/for-legacy-web
Use tabWidth 4 without actual tabs.
This commit is contained in:
14
src/main.tsx
14
src/main.tsx
@@ -8,13 +8,13 @@ import { internalEmit } from "./lib/eventEmitter";
|
||||
import { App } from "./pages/app";
|
||||
|
||||
export const updateSW = registerSW({
|
||||
onNeedRefresh() {
|
||||
internalEmit("PWA", "update");
|
||||
},
|
||||
onOfflineReady() {
|
||||
console.info("Ready to work offline.");
|
||||
// show a ready to work offline to user
|
||||
},
|
||||
onNeedRefresh() {
|
||||
internalEmit("PWA", "update");
|
||||
},
|
||||
onOfflineReady() {
|
||||
console.info("Ready to work offline.");
|
||||
// show a ready to work offline to user
|
||||
},
|
||||
});
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
|
||||
Reference in New Issue
Block a user