From cac8f856fa132ed236294862e3ccb517281b32ad Mon Sep 17 00:00:00 2001 From: Saud Fatayerji Date: Sun, 29 Oct 2023 11:14:07 +0200 Subject: [PATCH] reverted to base tauri install --- client-tauri/package.json | 8 ++++---- client-tauri/src/App.tsx | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/client-tauri/package.json b/client-tauri/package.json index 258a2c35..00bb40b8 100644 --- a/client-tauri/package.json +++ b/client-tauri/package.json @@ -10,16 +10,16 @@ "tauri": "tauri" }, "dependencies": { - "@tauri-apps/api": "^2.0.0-alpha.9", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "@tauri-apps/api": "^1.5.0" }, "devDependencies": { - "@tauri-apps/cli": "^2.0.0-alpha.16", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@vitejs/plugin-react": "^4.0.3", "typescript": "^5.0.2", - "vite": "^4.4.4" + "vite": "^4.4.4", + "@tauri-apps/cli": "^1.5.0" } } diff --git a/client-tauri/src/App.tsx b/client-tauri/src/App.tsx index 2930f6a5..9a510a94 100644 --- a/client-tauri/src/App.tsx +++ b/client-tauri/src/App.tsx @@ -3,6 +3,8 @@ import reactLogo from "./assets/react.svg"; import { invoke } from "@tauri-apps/api/tauri"; import "./App.css"; +console.log(invoke) + function App() { const [greetMsg, setGreetMsg] = useState(""); const [name, setName] = useState("");