From c7094473ebd421e543210cd24340e541f680ca7b Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 8 Oct 2024 10:31:28 +0800 Subject: [PATCH] Update readme --- plugins/store/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/store/README.md b/plugins/store/README.md index e84c5285..535f673b 100644 --- a/plugins/store/README.md +++ b/plugins/store/README.md @@ -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");