Refactor: ConditionallyRender #19789
Annotations
9 errors
build
Type 'Element | null' is not assignable to type 'ReactElement<any, any>'.
|
build
Type 'ReactElement<any, string | JSXElementConstructor<any>> | (() => ReactElement<any, string | JSXElementConstructor<any>>)' is not assignable to type 'ReactNode'.
|
build
Type 'Element | null' is not assignable to type 'Element | undefined'.
|
build
Type 'Element | null' is not assignable to type 'Element | undefined'.
|
build
Type 'Element | null' is not assignable to type 'Element | undefined'.
|
build
Type '(() => Element) | null' is not assignable to type 'ReactNode'.
|
build
Type '(() => Element) | null' is not assignable to type 'ReactNode'.
|
build
Type '(() => Element) | null' is not assignable to type 'ReactNode'.
|
build
Process completed with exit code 2.
|