Skip to content

Commit ed0e479

Browse files
committed
fix(actions): unnecessary null check
1 parent 0a44782 commit ed0e479

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib/create_middleware.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ function createTransformer<S>(
5555
action
5656
);
5757

58-
if (!dispatchedAction) {
59-
return null;
60-
}
61-
6258
const transformer = transformers[dispatchedAction.type];
6359
if (!transformer) {
6460
// logger.log(`No transformation found for ${dispatchedAction.type}`, 'warn');

0 commit comments

Comments
 (0)