Skip to content

Commit bf61d69

Browse files
committed
Remove error throw with concatenation that causes TypeScript 'never' type error
1 parent 4339abe commit bf61d69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/react-hook-tracer-demo/src/demos/Reducer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ function reducer(state: State, action: Action) {
4242
}
4343
}
4444
}
45-
throw Error('Unknown action: ' + actionType)
4645
}
4746

4847
function Form() {

0 commit comments

Comments
 (0)