fix: 404 on clicking version menu item in side nav (#3853)

This commit is contained in:
Yunus M 2023-11-01 01:26:08 +05:30 committed by GitHub
parent eddb607c9c
commit 991e39aad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -138,6 +138,7 @@ function SideNav(): JSX.Element {
key: SecondaryMenuItemKey.Support, key: SecondaryMenuItemKey.Support,
label: 'Support', label: 'Support',
icon: <LifeBuoy />, icon: <LifeBuoy />,
onClick: onClickMenuHandler,
}, },
]; ];
} else { } else {
@ -189,7 +190,6 @@ function SideNav(): JSX.Element {
mode="vertical" mode="vertical"
style={styles} style={styles}
items={secondaryMenuItems} items={secondaryMenuItems}
onClick={onClickMenuHandler}
/> />
</Sider> </Sider>
); );

View File

@ -34,8 +34,8 @@ function Version(): JSX.Element {
); );
return ( return (
<Card> <Card style={{ margin: '16px 0' }}>
<Typography.Title ellipsis level={4}> <Typography.Title ellipsis level={4} style={{ marginTop: 0 }}>
{t('version')} {t('version')}
</Typography.Title> </Typography.Title>