Commit b0a36b8
authored
Use useSetAtom in SocketProvider for write-only atom (#1498)
## Summary
- Replaced write-only `useAtom` usage with `useSetAtom` for
`fileTransferProgressAtom` in `SocketProvider`, so the provider does not
subscribe to atom value updates.
Closes #1493.
## Test plan
- [x] CI lint passes
- [x] Smoke-test remote file transfer / socket progress UI if available
Made with [Cursor](https://cursor.com)1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments