Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitac74cbd

Browse files
committed
fix: mapDispatchToProps pass params bug
1 parent0f01c95 commitac74cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/helpers/redux.helpers.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const mapDispatchToProps: DispatchToProps = map => dispatch =>
1616
Object.keys(map).reduce(
1717
(prev,key)=>({
1818
...prev,
19-
[key]:(...params:any[])=>dispatch(map[key](params)),
19+
[key]:(...params:any[])=>dispatch(map[key](...params)),
2020
}),
2121
{},
2222
)astypeofmap

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp