Commit 4057c2f
committed
fix(cmd-k): Remove redundant sync effect that broke no-results detection
The separate prevFilteredCount sync effect ran before the no-results
effect in declaration order, zeroing out the previous value before
the check could compare it. The no-results effect already updates
prevFilteredCount itself, so the sync effect was both redundant and
harmful.1 parent b6239ef commit 4057c2f
File tree
1 file changed
+0
-6
lines changed- static/app/components/commandPalette
1 file changed
+0
-6
lines changedLines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 64 | | |
71 | 65 | | |
72 | 66 | | |
| |||
0 commit comments