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
Here's a way to update the parent component state through the child component by attaching an event in the child component and passing it as props to parent component and defining the handler of that click as per one's need in parent component