Commit 85e5754
committed
refactor(useGlobalSearch): improve formatting and cancel in-flight updates
- Enhanced code readability by formatting multi-line function calls and conditions.
- Added cancellation for in-flight URL and search query updates to prevent unintended navigation and value restoration.1 parent 364c842 commit 85e5754
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
154 | 158 | | |
155 | 159 | | |
156 | 160 | | |
| |||
0 commit comments