diff --git a/govtool/frontend/src/App.tsx b/govtool/frontend/src/App.tsx
index 842b3d6de..3da3e9a9b 100644
--- a/govtool/frontend/src/App.tsx
+++ b/govtool/frontend/src/App.tsx
@@ -93,7 +93,7 @@ export default function App() {
}
- >
+ />
}
@@ -140,8 +140,8 @@ export default function App() {
handleClose={
!modals[modal.type].preventDismiss
? callAll(modals[modal.type]?.onClose, () =>
- openModal({ type: "none", state: null })
- )
+ openModal({ type: "none", state: null })
+ )
: undefined
}
>
diff --git a/govtool/frontend/src/consts/paths.ts b/govtool/frontend/src/consts/paths.ts
index dfff509bf..e7fc669d6 100644
--- a/govtool/frontend/src/consts/paths.ts
+++ b/govtool/frontend/src/consts/paths.ts
@@ -1,23 +1,24 @@
export const PATHS = {
+ dashboard: "/dashboard",
+ dashboard_drep_directory: "/connected/drep_directory",
+ dashboard_governance_actions: "/connected/governance_actions",
dashboard_governance_actions_action:
"/connected/governance_actions/:proposalId",
dashboard_governance_actions_category:
"/connected/governance_actions/category/:category",
- dashboard_governance_actions: "/connected/governance_actions",
- dashboard: "/dashboard",
delegateTodRep: "/delegate",
- error: "/error",
drep_directory: "/drep_directory",
+ error: "/error",
+ faqs: "/faqs",
governance_actions: "/governance_actions",
governance_actions_action: "/governance_actions/:proposalId",
+ governance_actions_category: "/governance_actions/category/:category",
governance_actions_category_action:
"/governance_actions/category/:category/:proposalId",
- governance_actions: "/governance_actions",
- dashboard_drep_directory: "/connected/drep_directory",
guides: "/guides",
home: "/",
- registerAsdRep: "/register",
registerAsSoleVoter: "/register_sole_voter",
+ registerAsdRep: "/register",
retireAsSoleVoter: "/retire_sole_voter",
stakeKeys: "/stake_keys",
updateMetadata: "/update_metadata",