Skip to content

Commit dfb3143

Browse files
committed
fix ssh keys and floating IP edit crumbs
1 parent 0c95737 commit dfb3143

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

app/routes.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,12 @@ export const routes = createRoutesFromElements(
121121
<Route path="settings" handle={{ crumb: 'Settings' }} element={<SettingsLayout />}>
122122
<Route index element={<Navigate to="profile" replace />} />
123123
<Route path="profile" element={<ProfilePage />} handle={{ crumb: 'Profile' }} />
124-
<Route element={<SSHKeysPage />} loader={SSHKeysPage.loader}>
125-
<Route path="ssh-keys" handle={{ crumb: 'SSH Keys' }} element={null} />
124+
<Route
125+
element={<SSHKeysPage />}
126+
loader={SSHKeysPage.loader}
127+
handle={{ crumb: 'SSH Keys' }}
128+
>
129+
<Route path="ssh-keys" element={null} />
126130
<Route
127131
path="ssh-keys-new"
128132
element={<CreateSSHKeySideModalForm />}
@@ -496,7 +500,7 @@ export const routes = createRoutesFromElements(
496500
path="floating-ips/:floatingIp/edit"
497501
element={<EditFloatingIpSideModalForm />}
498502
loader={EditFloatingIpSideModalForm.loader}
499-
handle={{ crumb: 'Edit Floating IP' }}
503+
handle={{ crumb: 'Edit Floating IP', titleOnly: true }}
500504
/>
501505
</Route>
502506

0 commit comments

Comments
 (0)