clear

Clear is a function that we use to change the object's values to be null

dispatch(clear('DESTINATION'));

Example: Clear User

await dispatch(clear('User'))

Last updated