diff --git a/package.json b/package.json
index eb214bd..ba239ac 100644
--- a/package.json
+++ b/package.json
@@ -10,13 +10,9 @@
"tauri": "tauri"
},
"dependencies": {
- "react": "npm:@preact/compat",
- "react-dom": "npm:@preact/compat",
- "@fluentui/react-components": "^9.41.0",
"@tauri-apps/api": "^1.5.1",
"preact": "^10.16.0",
- "react-icons": "^4.12.0",
- "react-router-dom": "^6.20.0",
+ "preact-router": "^4.1.2",
"zustand": "^4.4.6"
},
"devDependencies": {
diff --git a/src-tauri/.gitignore b/src-tauri/.gitignore
index f4dfb82..105959e 100644
--- a/src-tauri/.gitignore
+++ b/src-tauri/.gitignore
@@ -2,3 +2,4 @@
# will have compiled files and executables
/target/
+WixTools/**/*
diff --git a/src/main.tsx b/src/main.tsx
index 2f789f5..98772b5 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -1,14 +1,5 @@
import { render } from "preact";
-import { createBrowserRouter, RouterProvider } from "react-router-dom";
-
import App from "@ui/App";
-export const router = createBrowserRouter([
- { path: "*", element: }
-]);
-
-render(
- ,
- document.getElementById("root")!
-);
+render(, document.getElementById("root")!);
diff --git a/src/ui/App.tsx b/src/ui/App.tsx
index f5f380d..f26a453 100644
--- a/src/ui/App.tsx
+++ b/src/ui/App.tsx
@@ -1,4 +1,4 @@
-import { Route, Routes } from "react-router-dom";
+import { Route, Router } from "preact-router";
import TopBar from "@components/TopBar.tsx";
import Launcher from "@ui/layout/Launcher.tsx";
@@ -12,9 +12,9 @@ function App() {
-
- } />
-
+
+
+
);
}
diff --git a/src/ui/layout/Launcher.tsx b/src/ui/layout/Launcher.tsx
index 86728c6..4fa44fb 100644
--- a/src/ui/layout/Launcher.tsx
+++ b/src/ui/layout/Launcher.tsx
@@ -1,17 +1,14 @@
import NewsFeed from "@components/NewsFeed.tsx";
import InfoBoard from "@components/InfoBoard.tsx";
-import { Button } from "@fluentui/react-components";
-function Launcher() {
+interface Props {}
+
+function Launcher(_props: Props) {
return (
-
-
diff --git a/tsconfig.json b/tsconfig.json
index 3d9a7cd..c0130c3 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -29,8 +29,6 @@
"@css/*": ["src/ui/css/*"],
"@components/*": ["src/ui/components/*"],
"@backend/*": ["src/backend/*"],
- "react": ["./node_modules/preact/compat/"],
- "react-dom": ["./node_modules/preact/compat/"]
},
},
"include": ["src"],