fix: types
This commit is contained in:
parent
c9e65dcdde
commit
7f5bb1e934
|
|
@ -17,6 +17,8 @@ export const withSettingEnabled =
|
|||
forwardRef<any, P>((props, ref) => {
|
||||
const res = useSettings.select(condition)
|
||||
return res ?
|
||||
// @ts-expect-error
|
||||
createElement(IfComponent, { ...props, ref }) :
|
||||
// @ts-expect-error
|
||||
createElement(ElseComponent, { ...props, ref })
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue