Skip to content

Commit ef92fad

Browse files
DinoxhCopilot
andauthored
Update my-app/src/views/Components/FavouriteDropdown.jsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a1c2fcc commit ef92fad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

my-app/src/views/Components/FavouriteDropdown.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function FavouritesDropdown(props) {
1414

1515
<button
1616
className="text-red-500 cursor-pointer"
17-
onClick={() => removeFavourite(course.code)}>
17+
onClick={() => props.removeFavourite(course.code)}>
1818
X
1919
</button>
2020

0 commit comments

Comments
 (0)