Skip to content

Commit

Permalink
webapp:use hashrouter
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Apr 21, 2024
1 parent 4e50e60 commit 7892e9b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions webapp/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
// App.tsx
import {
createBrowserRouter,
BrowserRouter,
Route,
Routes,
RouterProvider,
} from "react-router-dom";
import { createHashRouter, RouterProvider } from "react-router-dom";
import Dashboard from "./pages/Dashboard";
import LandingPage from "./pages/LandingPage";
import Server from "./pages/Server";
import AuthComponent from "./components/Auth";

const App = () => {
const router = createBrowserRouter([
const router = createHashRouter([
{
path: "/",
element: <LandingPage />,
Expand Down

0 comments on commit 7892e9b

Please sign in to comment.