const action = useAction({ from})
Options
from: TFrom
Returns
action: Action<TFromRoute['actionPayload'], TFromRoute['actionResponse']>