fix(core): typecheck after jotai upgraded (#5779)

This commit is contained in:
LongYinan 2024-02-01 16:10:14 +00:00
parent 45b5800a23
commit 8f4b4e20ab
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99
2 changed files with 0 additions and 2 deletions

View File

@ -35,7 +35,6 @@ export const List = forwardRef<ItemListHandle, ListProps<ListItem>>(
return (
// push pageListProps to the atom so that downstream components can consume it
// this makes sure pageListPropsAtom is always populated
// @ts-expect-error fix type issues later
<ListProvider initialValues={[[listPropsAtom, props]]}>
<ListInnerWrapper {...props} handleRef={ref}>
<ListInner {...props} />

View File

@ -77,7 +77,6 @@ export const VirtualizedList = forwardRef<
return (
// push pageListProps to the atom so that downstream components can consume it
// this makes sure pageListPropsAtom is always populated
// @ts-expect-error fix type issues later
<ListProvider initialValues={[[listPropsAtom, props]]}>
<ListInnerWrapper {...props} handleRef={ref}>
<ListInner {...props} />