Skip to content

Commit

Permalink
Add if statement to local storage
Browse files Browse the repository at this point in the history
Made the array reset and populate only if there was a value in the local
storage.
  • Loading branch information
StuvaScript committed Oct 1, 2023
1 parent acf7490 commit 60d855e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion main.js.map

Large diffs are not rendered by default.

0 comments on commit 60d855e

Please sign in to comment.