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
When I try to dispatch this action with a payload from the flipper plug in
{
'foo': 'cat',
'bar': 'dog'
}
It tells me undefined is not an object and pin points me to action.payload.foo. So I assume the payload is not passed from the plug in. How do I give it a payload?
The text was updated successfully, but these errors were encountered:
Stophface
changed the title
Define Payload
How do you pass a Payload when you dispatch an action?
Feb 11, 2022
From the code side I dispatch my action like this
When I try to dispatch this action with a payload from the flipper plug in
It tells me
undefined is not an object
and pin points me toaction.payload.foo
. So I assume thepayload
is not passed from the plug in. How do I give it apayload
?The text was updated successfully, but these errors were encountered: