Commit c7fcd10
fix(frontend): pass isFetchingGraph prop to CodeGraph components
Add isFetchingGraph state to App.tsx and pass it to both desktop and
mobile CodeGraph components. Set true on fetch start, false in finally
block so the loading spinner renders correctly.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1b62f19 commit c7fcd10
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
| 191 | + | |
| 192 | + | |
189 | 193 | | |
190 | 194 | | |
191 | 195 | | |
| |||
527 | 531 | | |
528 | 532 | | |
529 | 533 | | |
| 534 | + | |
530 | 535 | | |
531 | 536 | | |
532 | 537 | | |
| |||
654 | 659 | | |
655 | 660 | | |
656 | 661 | | |
| 662 | + | |
657 | 663 | | |
658 | 664 | | |
659 | 665 | | |
| |||
0 commit comments