- Notifications
You must be signed in to change notification settings - Fork948
Commitffbeed9
fix: use useState for userSavedProxy to make it reactive
- Change userSavedProxy from useMemo to useState to make it reactive to changes- Update setUserSavedProxy when auto-selecting proxy or manually setting/clearing- This ensures userProxy in context reflects current localStorage state- Matches main branch behavior where userSavedProxy was a useStateCo-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>1 parent8c2b457 commitffbeed9
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
100 | 99 |
| |
101 | 100 |
| |
102 | 101 |
| |
| |||
182 | 181 |
| |
183 | 182 |
| |
184 | 183 |
| |
| 184 | + | |
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
| |||
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
| 206 | + | |
206 | 207 |
| |
207 | 208 |
| |
208 | 209 |
| |
209 | 210 |
| |
210 | 211 |
| |
211 | 212 |
| |
| 213 | + | |
212 | 214 |
| |
213 | 215 |
| |
214 | 216 |
| |
|
0 commit comments
Comments
(0)