File tree Expand file tree Collapse file tree
packages/devtools-utils/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ export function createReactPanel<
5252 return < div style = { { height : '100%' } } ref = { devToolRef } />
5353 }
5454
55- function NoOpPanel ( ) {
56- return null
55+ function NoOpPanel ( _props : TComponentProps ) {
56+ return < > </ >
5757 }
5858 return [ Panel , NoOpPanel ] as const
5959}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export function createReactPlugin(
1616 function NoOpPlugin ( ) {
1717 return {
1818 name : name ,
19- render : ( _el : HTMLElement , _theme : 'light' | 'dark' ) => null ,
19+ render : ( _el : HTMLElement , _theme : 'light' | 'dark' ) => < > </ > ,
2020 }
2121 }
2222 return [ Plugin , NoOpPlugin ] as const
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ export function createSolidPanel<
2828 return < div style = { { height : '100%' } } ref = { devToolRef } />
2929 }
3030
31- function NoOpPanel ( ) {
32- return null
31+ function NoOpPanel ( _props : TComponentProps ) {
32+ return < > </ >
3333 }
3434
3535 return [ Panel , NoOpPanel ] as const
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function createSolidPlugin(
1818 function NoOpPlugin ( ) {
1919 return {
2020 name : name ,
21- render : ( _el : HTMLElement , _theme : 'light' | 'dark' ) => null ,
21+ render : ( _el : HTMLElement , _theme : 'light' | 'dark' ) => < > </ > ,
2222 }
2323 }
2424 return [ Plugin , NoOpPlugin ] as const
You can’t perform that action at this time.
0 commit comments