Skip to content
This repository was archived by the owner on Feb 3, 2020. It is now read-only.

Commit 5fc2c86

Browse files
remove unnecessary else branch to fix linting error
1 parent 79f945e commit 5fc2c86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/handle-action.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ export default function handleAction<S, AC extends TsActionCreator<any> = any>(
2828

2929
if (finishedDraft === state && reResult !== undefined) {
3030
return reResult;
31-
} else {
32-
return finishedDraft;
3331
}
32+
33+
return finishedDraft;
3434
}
3535
return (state || s) as any;
3636
};

0 commit comments

Comments
 (0)