mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
fix: extra content passed by consuming component (#9191)
This commit is contained in:
parent
6ac812b5af
commit
1aa5f5d0e1
@ -61,8 +61,6 @@ function RouteTab({
|
|||||||
defaultActiveKey={currentRoute?.key || activeKey}
|
defaultActiveKey={currentRoute?.key || activeKey}
|
||||||
animated
|
animated
|
||||||
items={items}
|
items={items}
|
||||||
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
||||||
{...rest}
|
|
||||||
tabBarExtraContent={
|
tabBarExtraContent={
|
||||||
showRightSection && (
|
showRightSection && (
|
||||||
<HeaderRightSection
|
<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}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user