Skip to content

Commit 275c205

Browse files
committed
Remove unused @ts-expect-error directive
1 parent 18fcde7 commit 275c205

File tree

1 file changed

+1
-2
lines changed
  • packages/@headlessui-react/src/components/combobox

1 file changed

+1
-2
lines changed

packages/@headlessui-react/src/components/combobox/combobox.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,8 +1752,7 @@ function OptionsFn<TTag extends ElementType = typeof DEFAULT_OPTIONS_TAG>(
17521752
children: (
17531753
<Frozen freeze={shouldFreeze}>
17541754
{typeof theirProps.children === 'function'
1755-
? // @ts-expect-error The `children` prop now is a callback function
1756-
theirProps.children?.(slot)
1755+
? theirProps.children?.(slot)
17571756
: theirProps.children}
17581757
</Frozen>
17591758
),

0 commit comments

Comments
 (0)