fix linting in js

This commit is contained in:
Arthur Lu
2022-11-18 07:56:07 +00:00
parent 89b7319dd8
commit 3422f584f9
5 changed files with 20 additions and 20 deletions

View File

@@ -3,10 +3,10 @@ import { newReviewToStorage } from "./localStorage.js";
window.addEventListener("DOMContentLoaded", init);
function init() {
// get next id
// get next id
// creates the key
initFormHandler();
// creates the key
initFormHandler();
}
@@ -42,7 +42,7 @@ function initFormHandler() {
let nextReviewId = newReviewToStorage(reviewObject);
sessionStorage.setItem("currID", JSON.stringify(nextReviewId));
window.location.assign('./ReviewDetails.html');
window.location.assign("./ReviewDetails.html");
});