Skip to content

Commit

Permalink
fix: rebasing to master
Browse files Browse the repository at this point in the history
  • Loading branch information
yokwejuste committed Feb 26, 2024
1 parent 8f9ddd9 commit ed9f1dd
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down Expand Up @@ -139,7 +143,11 @@ export default function ActivityDetailsV2(props) {
</div>

<div style={{ display: 'flex', flexDirection: 'row', justifyContent: 'space-between', marginTop: 32, gap: 10 }}>
<CustomButton primaryButtonOutlinedStyle style={{ borderRadius: 4 }}>
<CustomButton
primaryButtonOutlinedStyle
style={{ borderRadius: 4 }}
onclick={handleCreateProject}
>
Create this Project
</CustomButton>
<CustomButton
Expand Down

0 comments on commit ed9f1dd

Please sign in to comment.