Skip to content

Commit

Permalink
fix setItem error
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jan 3, 2024
1 parent 3a7f38a commit d81e90c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions calcit.cirru

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

2 changes: 1 addition & 1 deletion compact.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
|persist-storage! $ %{} :CodeEntry (:doc |)
:code $ quote
defn persist-storage! (? e)
.setItem js/localStorage (:storage-key config/site)
js/localStorage.setItem (:storage-key config/site)
format-cirru-edn $ :store @*reel
|reload! $ %{} :CodeEntry (:doc |)
:code $ quote
Expand Down

0 comments on commit d81e90c

Please sign in to comment.