Skip to content

Commit

Permalink
added new Error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Okan committed Aug 7, 2023
1 parent 15ede0f commit 3730b97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transformState.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ function transformState(state, actions) {
delete state[key];
}
break;

default:
throw new Error('something wrong');
}
}
}
Expand Down

0 comments on commit 3730b97

Please sign in to comment.