Skip to content

Commit 51c9332

Browse files
committed
clear error when query is updated
1 parent 9778bb1 commit 51c9332

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/compass-indexes/src/modules/create-index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,7 @@ const reducer: Reducer<State, Action> = (state = INITIAL_STATE, action) => {
883883
...state,
884884
query: action.query,
885885
hasQueryChanges: action.hasQueryChanges,
886+
error: null,
886887
};
887888
}
888889

0 commit comments

Comments
 (0)