CommonActionHookState
Parameters
isError required boolean
@returns
true
if an error occurred
error required null
| ErrorPayload
Provides details about the error
isLoading required boolean
@returns
true
when the action is executing, false
when it finished its execution.