mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
fix(console): should return to previous page when on sign-in-experience and app details page (#1137)
This commit is contained in:
parent
294c60062e
commit
ae0caa8f8b
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ const Main = () => {
|
|||
<Route index element={<Applications />} />
|
||||
<Route path="create" element={<Applications />} />
|
||||
<Route path=":id">
|
||||
<Route index element={<Navigate to="settings" />} />
|
||||
<Route index element={<Navigate replace to="settings" />} />
|
||||
<Route path="settings" element={<ApplicationDetails />} />
|
||||
<Route path="advanced-settings" element={<ApplicationDetails />} />
|
||||
</Route>
|
||||
|
@ -73,7 +73,7 @@ const Main = () => {
|
|||
<Route path=":userId/logs/:logId" element={<AuditLogDetails />} />
|
||||
</Route>
|
||||
<Route path="sign-in-experience">
|
||||
<Route index element={<Navigate to="experience" />} />
|
||||
<Route index element={<Navigate replace to="experience" />} />
|
||||
<Route path=":tab" element={<SignInExperience />} />
|
||||
</Route>
|
||||
<Route path="settings" element={<Settings />} />
|
||||
|
|
Loading…
Reference in a new issue