Skip to content

Commit 02a1c20

Browse files
committed
fix: navigating to BASE_URL inside the router with this set is erroneous
1 parent 55616a8 commit 02a1c20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/App/AppView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const AppView: React.FC<AuthProps> = ({ handleSignIn, handleSignOut, loggedIn: w
202202
return (
203203
<Router basename={BASE_URL}>
204204
<Routes>
205-
<Route path="*" element={<Navigate to={BASE_URL} replace />} />
205+
<Route path="*" element={<Navigate to={'/'} replace />} />
206206
<Route path="/" element={
207207
<>
208208
<Styled.Header>

0 commit comments

Comments
 (0)