[fix] tauri store async fn
This commit is contained in:
@@ -31,7 +31,7 @@ interface SteamAction {
|
||||
}
|
||||
|
||||
const STORE_NAME = "steam"
|
||||
const { /* store, */ storage } = tauriStore(STORE_NAME)
|
||||
const { /* store, */ storage } = await tauriStore(STORE_NAME)
|
||||
|
||||
const useSteamStore = create<SteamState & SteamAction>()(
|
||||
persist(
|
||||
|
||||
Reference in New Issue
Block a user