mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -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">
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue