Skip to content

Commit

Permalink
fix: wrap route
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jul 9, 2024
1 parent 2efb3a7 commit be1e542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const tree = buildGlobRoutes(globTree)

let routerCreator = window.electron ? createHashRouter : createBrowserRouter
if (window.SENTRY_RELEASE) {
routerCreator = wrapCreateBrowserRouter(createHashRouter)
routerCreator = wrapCreateBrowserRouter(routerCreator)
}

export const router = routerCreator([
Expand Down

0 comments on commit be1e542

Please sign in to comment.