Skip to content

Commit 5b44ff4

Browse files
committed
fix check-examples
1 parent 6fe9e20 commit 5b44ff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-spectrum/listbox/src/ListBoxBase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function ListBoxBase<T extends object>(props: ListBoxBaseProps<T>, ref: Forwarde
130130
isLoading={isLoading}
131131
onLoadMore={props.onLoadMore}
132132
onScroll={onScroll}>
133-
{useCallback((type, item: Node<T>) => {
133+
{useCallback((type, item: Node<T>): ReactNode => {
134134
if (type === 'item') {
135135
return <ListBoxOption item={item} />;
136136
} else if (type === 'loader') {

0 commit comments

Comments
 (0)