mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-10 05:34:44 +00:00
clean up some styling
This commit is contained in:
parent
3580941207
commit
d95f0036ac
@ -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}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user