Update readme

This commit is contained in:
Tony
2024-10-08 10:31:28 +08:00
parent a00cb15224
commit c7094473eb
+1 -1
View File
@@ -117,7 +117,7 @@ fn main() {
// Note that values must be serde_json::Value instances,
// otherwise, they will not be compatible with the JavaScript bindings.
store.insert("a".to_string(), json!("b"));
store.set("a".to_string(), json!("b"));
})
.run(tauri::generate_context!())
.expect("error while running tauri application");