mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 23:42:11 -05:00
fix: change invite routing order
This commit is contained in:
parent
e20c3ee518
commit
f0c2829c58
1 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue