Commit e549fad
authored
Fix toggling optional props in Connect (#15231)
When toggling an optional prop in the Connect React lib, we discard any
previously configured values. This change fixed that, so if a prop is
disabled after configuring it, re-enabling it again will use the
previoulsy configured value.1 parent 17e2fbe commit e549fad
File tree
3 files changed
+10
-5
lines changed- packages/connect-react
- src/hooks
3 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
346 | 351 | | |
347 | 352 | | |
348 | 353 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments