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