Skip to content

Commit

Permalink
[#217] Resolve conflicts, code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Mar 1, 2024
1 parent 3149121 commit db03b82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions govtool/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function App() {
<Route
path={PATHS.governance_actions}
element={<GovernanceActions />}
></Route>
/>
<Route
path={PATHS.governance_actions_category}
element={<GovernanceActionsCategory />}
Expand Down Expand Up @@ -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
}
>
Expand Down
13 changes: 7 additions & 6 deletions govtool/frontend/src/consts/paths.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit db03b82

Please sign in to comment.