mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-10 22:29:00 +08:00
fix(FE): Sidebar navigation when collapsed (#686)
* Update README.md * ci(k3s): 💚 fix correct raw github URL for hotrod (#661) Signed-off-by: Prashant Shahi <prashant@signoz.io> (cherry picked from commit d92a3e64f58477af46fc56781489a4be05ec42f0) * chore: 🚚 rename config .yaml to yml for behaviorbot (#673) Signed-off-by: Prashant Shahi <prashant@signoz.io> (cherry picked from commit cd04a39d3dcc1579dc5807ad9cece4eed4437f0d) * fix(FE): sidebar navigation when collapsed Co-authored-by: Pranay Prateek <pranay@signoz.io> Co-authored-by: Prashant Shahi <prashant@signoz.io> Co-authored-by: Ankit Nayan <ankit@signoz.io>
This commit is contained in:
parent
1ee2e302e2
commit
07f4fcb216
@ -73,10 +73,12 @@ const SideNav = ({ toggleDarkMode }: Props): JSX.Element => {
|
||||
mode="inline"
|
||||
>
|
||||
{menus.map(({ to, Icon, name }) => (
|
||||
<Menu.Item key={to} icon={<Icon />}>
|
||||
<div onClick={(): void => onClickHandler(to)}>
|
||||
<Typography>{name}</Typography>
|
||||
</div>
|
||||
<Menu.Item
|
||||
key={to}
|
||||
icon={<Icon />}
|
||||
onClick={(): void => onClickHandler(to)}
|
||||
>
|
||||
<Typography>{name}</Typography>
|
||||
</Menu.Item>
|
||||
))}
|
||||
</Menu>
|
||||
|
Loading…
x
Reference in New Issue
Block a user