Skip to content

Commit b69e9df

Browse files
committed
unshift, not prepend
1 parent ed3ba43 commit b69e9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/getDefaultMiddleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export function getDefaultMiddleware<
133133
actionCreatorOptions = actionCreatorCheck
134134
}
135135

136-
middlewareArray.prepend(
136+
middlewareArray.unshift(
137137
createActionCreatorInvariantMiddleware(actionCreatorOptions)
138138
)
139139
}

0 commit comments

Comments
 (0)