Commit 32f8e74
authored
ui: Fix state sync between ProfileSelector & MatchersInput (#6081)
* ui: Fix state sync between ProfileSelector & MatchersInput
The bug occurs because two separate instances of the useQueryState hook maintain independent local draft state:
Fix here was to pass down the setDraftMatchers, commitDraft, and draftParsedQuery from the ProfileSelector down to the MatchersInput component.
* run make generate1 parent 279aba3 commit 32f8e74
5 files changed
+82
-429
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments