Remove dead code for pager (#2651)

This commit is contained in:
dan 2024-02-05 22:40:07 +00:00 committed by GitHub
parent f0e046a44b
commit b7056365dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 35 deletions

View file

@ -76,8 +76,7 @@ export const PagerWithHeader = React.forwardRef<PagerRef, PagerWithHeaderProps>(
initialPage={initialPage}
onPageSelected={onPageSelectedInner}
onPageSelecting={onPageSelecting}
renderTabBar={renderTabBar}
tabBarPosition="top">
renderTabBar={renderTabBar}>
{toArray(children)
.filter(Boolean)
.map((child, i) => {