Commit 6f2d1a5
committed
Refactor EventCaptureSection to remove unnecessary useEffect
- Removed the useEffect hook that synchronized the input with the store value, simplifying the component's logic.
- This change enhances performance by reducing unnecessary re-renders and dependencies.1 parent 79e5276 commit 6f2d1a5
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 20 | | |
27 | 21 | | |
28 | 22 | | |
| |||
0 commit comments