mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
chore(store): format readme
This commit is contained in:
@@ -60,9 +60,9 @@ await store.set("some-key", { value: 5 });
|
||||
const val = await store.get<{ value: number }>("some-key");
|
||||
|
||||
if (val) {
|
||||
console.log(val);
|
||||
console.log(val);
|
||||
} else {
|
||||
console.log("val is null");
|
||||
console.log("val is null");
|
||||
}
|
||||
|
||||
await store.save(); // this manually saves the store, otherwise the store is only saved when your app is closed
|
||||
|
||||
Reference in New Issue
Block a user