Fix: Avoid going through react-redux to update draft.

This commit is contained in:
Paul
2021-07-06 11:07:42 +01:00
parent b69ba4ca28
commit ea65825454
2 changed files with 11 additions and 15 deletions

View File

@@ -82,3 +82,7 @@ store.subscribe(() => {
export function dispatch(action: Action) {
store.dispatch(action);
}
export function getState(): State {
return store.getState();
}