You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* *Toggles the favorite status at the respective index of clicked card.
22
+
* @param {number} index
23
+
*/
24
+
consttoggleFavoriteStatus=(index)=>{
25
+
/**
26
+
* *This alters the favorited state onclick of the respective card. It uses the previous state snapshot and alters the particular index of the clicked card item.
0 commit comments