Skip to content

Commit

Permalink
fix: use tauri plugin package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludea committed Oct 18, 2024
1 parent f867777 commit ca21f43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^15.0.1",
"react-router-dom": "^6.22.3",
"tauri-plugin-autostart-api": "https://github.com/tauri-apps/tauri-plugin-autostart",
"tauri-plugin-stronghold-api": "https://github.com/tauri-apps/tauri-plugin-stronghold"
"react-router-dom": "^6.22.3"
},
"devDependencies": {
"@types/react": "^18.2.74",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { SparusErrorContext, SparusStoreContext } from "utils/Context";

// Tauri api
import { remove } from "@tauri-apps/plugin-fs";
import { enable, disable } from "tauri-plugin-autostart-api";
import { enable, disable } from "@tauri-apps/plugin-autostart";

// Icons
import DeleteIcon from "@mui/icons-material/Delete";
Expand Down
2 changes: 1 addition & 1 deletion src/utils/SecureStorage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Stronghold, Client } from "tauri-plugin-stronghold-api";
import { Stronghold, Client } from "@tauri-apps/plugin-stronghold";
import { appDataDir } from "@tauri-apps/api/path";

export const initStronghold = async () => {
Expand Down

0 comments on commit ca21f43

Please sign in to comment.