Skip to content

Commit 121f097

Browse files
authored
attempt hash router without actually testing it :D
1 parent f3934d1 commit 121f097

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Session } from "@supabase/supabase-js";
22
import { useEffect, useState } from "react";
3-
import { createBrowserRouter, createHashRouter, RouterProvider } from "react-router";
3+
import { createHashRouter, RouterProvider } from "react-router";
44
import "./App.css";
55
import GroupChatWindow from "./components/Chat/GroupChatWindow";
66
import ChatWindow from "./components/Chat/Window";
@@ -529,7 +529,7 @@ const App = () => {
529529
},
530530
];
531531

532-
const router = createBrowserRouter(routes, {
532+
const router = createHashRouter(routes, {
533533
basename: import.meta.env.BASE_URL,
534534
});
535535

0 commit comments

Comments
 (0)