diff --git a/src/components/Home/MacroGoal.jsx b/src/components/Home/MacroGoal.jsx index e206bb6..e75e051 100644 --- a/src/components/Home/MacroGoal.jsx +++ b/src/components/Home/MacroGoal.jsx @@ -12,6 +12,10 @@ const MacroGoal = ({ macroGoal, macroGoalIndex }) => { navigate(`/goals/${macroGoalIndex}`) } + const handleDeleteClick = (event) => { + event.stopPropagation() // Prevents the onClick from triggering navigation + } + return ( { {macroGoal.name} - +
+ +
)