Skip to content

Commit

Permalink
Remove unused @ts-expect-error directive
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Jun 25, 2024
1 parent 18fcde7 commit 275c205
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
),
Expand Down

0 comments on commit 275c205

Please sign in to comment.