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
After upgrading from 1.7.4 to 2.00 I get the following error:
flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task. Error Component Stack
I am calling the toast method in a useEffect hook:
useEffect(() => {
if (!actionState) return;
if (actionState.status === "SUCCESS") {
toast.success(actionState.message);
}
}, [actionState]);
};
Nothing to stress about, I was just wondering whether this could be related to the recent 2.0.0 release.
The text was updated successfully, but these errors were encountered:
After upgrading from 1.7.4 to 2.00 I get the following error:
I am calling the toast method in a useEffect hook:
Nothing to stress about, I was just wondering whether this could be related to the recent 2.0.0 release.
The text was updated successfully, but these errors were encountered: