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