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