fix: extra content passed by consuming component (#9191)

This commit is contained in:
Yunus M 2025-09-25 19:00:40 +05:30 committed by GitHub
parent 6ac812b5af
commit 1aa5f5d0e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,8 +61,6 @@ function RouteTab({
defaultActiveKey={currentRoute?.key || activeKey}
animated
items={items}
// eslint-disable-next-line react/jsx-props-no-spreading
{...rest}
tabBarExtraContent={
showRightSection && (
<HeaderRightSection
@ -72,6 +70,8 @@ function RouteTab({
/>
)
}
// eslint-disable-next-line react/jsx-props-no-spreading ---- TODO: remove this once follow the linting rules
{...rest}
/>
);
}