From 45476237e3f16b5a4f0ddcf10475d7691bc02eec Mon Sep 17 00:00:00 2001 From: Mo Gorhom Date: Thu, 10 Jun 2021 22:01:53 +0100 Subject: [PATCH] refactor: removed returned draft from immer produce --- src/state/reducer.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/state/reducer.ts b/src/state/reducer.ts index e24cd9e..eb19264 100644 --- a/src/state/reducer.ts +++ b/src/state/reducer.ts @@ -129,6 +129,5 @@ export const reducer = produce( ); break; } - return draft; } );