Skip to content

Commit

Permalink
fix (createNewProject): splitTasks - when proceed btn is clicked, use…
Browse files Browse the repository at this point in the history
…r is redirected to project_details page
  • Loading branch information
NSUWAL123 committed Nov 6, 2023
1 parent 0acbf1f commit ab8ddce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/frontend/src/components/createnewproject/SplitTasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,11 @@ const SplitTasks = ({ flag, geojsonFile, setGeojsonFile, customLineUpload, custo
</p>
<div className="fmtm-flex fmtm-justify-center fmtm-gap-6 fmtm-pt-5 ">
{/* <Button btnText="CANCEL" btnType="secondary"></Button> */}
<Button btnText="PROCEED" onClick={() => setToggleStatus(false)} btnType="primary"></Button>
<Button
btnText="PROCEED"
onClick={() => navigate(`/project_details/${environment.encode(projectDetailsResponse?.id)}`)}
btnType="primary"
></Button>
</div>
</div>
}
Expand Down

0 comments on commit ab8ddce

Please sign in to comment.