Decor: Fix avatar decorations not showing

This reverts & edits commit 3b295e1f6f.
This commit is contained in:
Nuckyz 2024-11-12 14:53:11 -03:00
parent 1fe7912ec1
commit 69dc4fd594
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
3 changed files with 36 additions and 4 deletions

View file

@ -93,7 +93,7 @@ export const useAuthorizationStore = proxyLazy(() => zustandCreate(
} as AuthorizationState),
{
name: "decor-auth",
getStorage: () => indexedDBStorage,
storage: indexedDBStorage,
partialize: state => ({ tokens: state.tokens }),
onRehydrateStorage: () => state => state?.init()
}