Commit a8f3259
fix: use direct value for setRenderSettings (fixes typecheck)
setRenderSettings is an easy-peasy action, not a React useState setter,
so it only accepts a RenderSettings value directly — not a functional
update callback. Revert to spreading renderSettings directly while
keeping the isEmbeddedMode guard and tighter dependency array from the
previous two commits.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 357946e commit a8f3259
1 file changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | | - | |
| 412 | + | |
| 413 | + | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
416 | 416 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
| 417 | + | |
423 | 418 | | |
424 | 419 | | |
425 | 420 | | |
| |||
0 commit comments