Skip to content

Commit

Permalink
fix: resolves #4475
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Dec 23, 2024
1 parent a540fd7 commit 0129070
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .changeset/many-pianos-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@wagmi/core": patch
"@wagmi/connectors": patch
"wagmi": patch
"@wagmi/vue": patch
---

Fixed assignment in `getDefaultStorage`.
3 changes: 2 additions & 1 deletion packages/core/src/createStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ export function getDefaultStorage() {
return noopStorage
})()
return {
...storage,
getItem: storage.getItem,
removeItem: storage.removeItem,
setItem(key, value) {
try {
storage.setItem(key, value)
Expand Down

0 comments on commit 0129070

Please sign in to comment.