diff --git a/plugins/stronghold/README.md b/plugins/stronghold/README.md index caabff64..b89401d2 100644 --- a/plugins/stronghold/README.md +++ b/plugins/stronghold/README.md @@ -84,7 +84,7 @@ Afterwards all the plugin's APIs are available through the JavaScript guest bind import { Stronghold, Location, Client } from "tauri-plugin-stronghold-api"; import { appDataDir } from "@tauri-apps/api/path"; -const initStrongHold = async () => { +const initStronghold = async () => { const vaultPath = `${await appDataDir()}/vault.hold`; const vaultKey = "The key to the vault"; @@ -107,7 +107,7 @@ const initStrongHold = async () => { }; }; -const { stronghold, client } = await initStrongHold(); +const { stronghold, client } = await initStronghold(); const store = client.getStore();