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");