diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index ebb243d..1d544ea 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -39,8 +39,7 @@ const reducer = (state: State | null, action: Action): State | null => { return { ...state, value: setNestedValueByPath( - /* @ts-expect-error state is not null here... */ - state.value, + state.value as Record, action.fullAccessPath, action.newValue, ),