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

Commit1a8e5cc

Browse files
nowellstimche
authored andcommitted
IE11 does not support Array.prototype.includes (#313)
https://caniuse.com/#feat=array-includes
1 parenta0beaae commit1a8e5cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/handleAction.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function handleAction(type, reducer = identity, defaultState) {
2626

2727
return(state=defaultState,action)=>{
2828
const{type:actionType}=action;
29-
if(!actionType||!types.includes(toString(actionType))){
29+
if(!actionType||types.indexOf(toString(actionType))===-1){
3030
returnstate;
3131
}
3232

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp