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 () => {
if ("serviceWorker" in navigator) {
try {
const registration = await navigator.serviceWorker.register("./sw.js", {
scope: "./",
});
const registration = await navigator.serviceWorker.register("./sw.js", {scope: "./"});
} catch (error) {
console.error(`Registration failed with ${error}`);
}