diff --git a/src/store/storageHelper.ts b/src/store/storageHelper.ts index 767cf3c..357815e 100644 --- a/src/store/storageHelper.ts +++ b/src/store/storageHelper.ts @@ -38,6 +38,6 @@ function serialize(data: object): string { return btoa(encodeURIComponent(JSON.stringify(data))) } -function deserialize(b64: string): string { +function deserialize(b64: string): object { return JSON.parse(decodeURIComponent(atob(b64))) }