fix: change invite routing order

This commit is contained in:
Paul Makles 2021-12-26 19:56:46 +00:00
parent e20c3ee518
commit f0c2829c58

View file

@ -31,11 +31,6 @@ export function App() {
<Route path="/login/reset/:token"> <Route path="/login/reset/:token">
<Login /> <Login />
</Route> </Route>
<Route path="/invite/:code">
<FakeClient>
<Invite />
</FakeClient>
</Route>
<Route path="/login"> <Route path="/login">
<CheckAuth> <CheckAuth>
<Login /> <Login />
@ -46,6 +41,11 @@ export function App() {
<RevoltApp /> <RevoltApp />
</CheckAuth> </CheckAuth>
</Route> </Route>
<Route path="/invite/:code">
<FakeClient>
<Invite />
</FakeClient>
</Route>
</Switch> </Switch>
</Suspense> </Suspense>
</Context> </Context>