Skip to content

Commit

Permalink
PR refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgain committed Feb 20, 2024
1 parent 88d0d8f commit 6a6f337
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/apps/routers.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const reactRoutes = [
'/export/:exportId/delete',
'/exportwins',
'/exportwins/create',
'/exportwins/:exportWinId/edit',
'/exportwins/:winId/edit',
'/exportwins/confirmed',
'/exportwins/unconfirmed',
'/exportwins/:winId/details',
Expand Down
4 changes: 2 additions & 2 deletions src/client/modules/ExportWins/Form/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export const EditExportWin = ({ location, match }) => {
<ExportWinForm
title="Edit export win"
companyId={queryParams.company}
exportWinId={match.params.exportWinId}
exportWinId={match.params.winId}
initialValuesTaskName={TASK_GET_EXPORT_WIN}
initialValuesPayload={{
id: match.params.exportWinId,
id: match.params.winId,
}}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion src/client/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ const routes = {
component: CreateExportWin,
},
{
path: '/exportwins/:exportWinId/edit',
path: '/exportwins/:winId/edit',
module: 'datahub:companies',
component: EditExportWin,
},
Expand Down

0 comments on commit 6a6f337

Please sign in to comment.