Fix: eslint (#1030)

This commit is contained in:
KVOJJJin
2023-08-27 17:06:16 +08:00
committed by GitHub
parent 0796791de5
commit 934def5fcc
4 changed files with 15 additions and 9 deletions

View File

@@ -67,7 +67,7 @@ const recursivePushInParentDescendants = (
}
}
const Item = memo(({ index, style, data }: ListChildComponentProps<{
const ItemComponent = ({ index, style, data }: ListChildComponentProps<{
dataList: NotionPageItem[]
handleToggle: (index: number) => void
checkedIds: Set<string>
@@ -150,7 +150,8 @@ const Item = memo(({ index, style, data }: ListChildComponentProps<{
}
</div>
)
}, areEqual)
}
const Item = memo(ItemComponent, areEqual)
const PageSelector = ({
value,