From 1aa5f5d0e1f1f51befaf10a18b39091755b77343 Mon Sep 17 00:00:00 2001 From: Yunus M Date: Thu, 25 Sep 2025 19:00:40 +0530 Subject: [PATCH] fix: extra content passed by consuming component (#9191) --- frontend/src/components/RouteTab/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/RouteTab/index.tsx b/frontend/src/components/RouteTab/index.tsx index 43d652b2e4ab..9a8aec7ae5c3 100644 --- a/frontend/src/components/RouteTab/index.tsx +++ b/frontend/src/components/RouteTab/index.tsx @@ -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 && ( ) } + // eslint-disable-next-line react/jsx-props-no-spreading ---- TODO: remove this once follow the linting rules + {...rest} /> ); }