Commit 6712d97
committed
🐛 fix: resolve UI flicker patterns in AlertsContext
Combine two separate useEffect hooks monitoring mcpData.isLoading into a
single effect that handles both the timeout-set (when loading starts) and
the timeout-clear (when loading stops). This eliminates the intermediate
render cycle that caused UI flicker.
Signed-off-by: KubeStellar Scanner <scanner@kubestellar.io>1 parent 9c99cb1 commit 6712d97
1 file changed
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | 44 | | |
47 | | - | |
48 | | - | |
49 | 45 | | |
50 | | - | |
51 | | - | |
52 | 46 | | |
53 | | - | |
54 | | - | |
55 | 47 | | |
56 | | - | |
57 | | - | |
58 | 48 | | |
59 | 49 | | |
60 | 50 | | |
| |||
0 commit comments