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
But these props can be enhanced. For example, the from prop is used only when a specific user is about to be added. And, depending on that, a different 'add' function is used (addActiveUser, addStageUser, or addPreservedUser).
RFE: Instead of passing the from string to determine which 'add' operation to take, it would be better to pass the 'add' function directly to the AddUser component.
The text was updated successfully, but these errors were encountered:
The
AddUser
component receives the following props:But these props can be enhanced. For example, the
from
prop is used only when a specific user is about to be added. And, depending on that, a different 'add' function is used (addActiveUser
,addStageUser
, oraddPreservedUser
).RFE: Instead of passing the
from
string to determine which 'add' operation to take, it would be better to pass the 'add' function directly to theAddUser
component.The text was updated successfully, but these errors were encountered: