Skip to content

Commit

Permalink
refactor: removed unused hash history code
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanGrenier committed Feb 28, 2025
1 parent ddcc5de commit fa22070
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ import { DefaultNotFoundRoute } from "./components/default-not-found-route";
import { RouterProvider, createRouter } from "@tanstack/react-router";
import { routeTree } from "./routeTree.gen";

// const hashHistory = createHashHistory();
// If the 404 page stops working, may need to try a differenthistory type: https://tanstack.com/router/latest/docs/framework/react/guide/history-types

const router = createRouter({
routeTree,
// history: hashHistory,
defaultNotFoundComponent: DefaultNotFoundRoute,
});

Expand Down

0 comments on commit fa22070

Please sign in to comment.