css and js for ReviewDetails

Co-authored-by: Kara Hoagland <KH-Cl@users.noreply.github.com>
Co-authored-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
d7hernan
2022-11-20 16:27:27 -08:00
parent dd3e0cfefb
commit 6ce15a094e
6 changed files with 174 additions and 137 deletions

View File

@@ -17,8 +17,7 @@ export function newReviewToStorage(review){
localStorage.setItem("activeIDS", JSON.stringify(tempIdArr));
//increment nextID for next review creation
nextReviewId++;
localStorage.setItem("nextID", JSON.stringify(nextReviewId));
localStorage.setItem("nextID", JSON.stringify(nextReviewId + 1));
return nextReviewId;
}