Commit 66ca6fc
committed
Fix ThemePage activateColorScheme prop type
Prop was typed with 'unknown' parameters, which TypeScript rejected when
assigned the narrower signature from useIframeManager. Replace with the
canonical DesignSpecThemeSelector from schema and drop the duplicate
SelectorLike alias in the iframe manager.1 parent d55da4c commit 66ca6fc
2 files changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
363 | 364 | | |
364 | 365 | | |
365 | 366 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | 367 | | |
373 | | - | |
374 | | - | |
| 368 | + | |
| 369 | + | |
375 | 370 | | |
376 | 371 | | |
377 | 372 | | |
| |||
0 commit comments