Remove unused @ts-expect-error directive

This commit is contained in:
Jordan Pittman
2024-06-25 12:52:52 -04:00
parent 18fcde7330
commit 275c2051fe
@@ -1752,8 +1752,7 @@ function OptionsFn<TTag extends ElementType = typeof DEFAULT_OPTIONS_TAG>(
children: (
<Frozen freeze={shouldFreeze}>
{typeof theirProps.children === 'function'
? // @ts-expect-error The `children` prop now is a callback function
theirProps.children?.(slot)
? theirProps.children?.(slot)
: theirProps.children}
</Frozen>
),