-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make table form of mapDispatchToProps work with callable table actionCreators #73
Make table form of mapDispatchToProps work with callable table actionCreators #73
Conversation
@@ -164,20 +172,20 @@ local function connect<StoreState, Props, MappedStatePartialProps, MappedDispatc | |||
end | |||
|
|||
local mappedStoreDispatch: any | |||
if mapDispatchType == "table" then | |||
if isCallable(mapDispatchToProps) then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I swapped the order of the if / elseif checks here because a table can still be callable
I got all the static checks passing again but it looks like I don't have permission to merge the change in this repo. @jkelaty-rbx can you merge? |
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
No description provided.