From ed9f1dd67dae03f2072142ff767f6101719e20e4 Mon Sep 17 00:00:00 2001 From: Steve Yonkeu Date: Mon, 26 Feb 2024 20:44:04 +0100 Subject: [PATCH] fix: rebasing to master --- .../src/views/activity_details/ActivityDetailsV2.jsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zubhub_frontend/zubhub/src/views/activity_details/ActivityDetailsV2.jsx b/zubhub_frontend/zubhub/src/views/activity_details/ActivityDetailsV2.jsx index 085207407..6e05aa6be 100644 --- a/zubhub_frontend/zubhub/src/views/activity_details/ActivityDetailsV2.jsx +++ b/zubhub_frontend/zubhub/src/views/activity_details/ActivityDetailsV2.jsx @@ -81,6 +81,10 @@ export default function ActivityDetailsV2(props) { props.navigate(`${props.location.pathname}/edit`); }; + const handleCreateProject = () => { + props.history.push('/projects/create', {activity_id: id}); + }; + const toggleDialog = () => { setOpen(!open); props.navigate(window.location.pathname, { replace: true }); @@ -139,7 +143,11 @@ export default function ActivityDetailsV2(props) {
- + Create this Project