clean up some styling

This commit is contained in:
Arthur Lu 2022-12-01 07:36:19 +00:00
parent 3580941207
commit d95f0036ac

View File

@ -44,9 +44,7 @@ function initFormHandler() {
const registerServiceWorker = async () => { const registerServiceWorker = async () => {
if ("serviceWorker" in navigator) { if ("serviceWorker" in navigator) {
try { try {
const registration = await navigator.serviceWorker.register("./sw.js", { const registration = await navigator.serviceWorker.register("./sw.js", {scope: "./"});
scope: "./",
});
} catch (error) { } catch (error) {
console.error(`Registration failed with ${error}`); console.error(`Registration failed with ${error}`);
} }