change(ui): removed logo tooltip

This commit is contained in:
Shekar Siri 2023-08-10 18:00:58 +05:30
parent 40671ab0ca
commit ed5f49d031
2 changed files with 4 additions and 15 deletions

View file

@ -3,7 +3,7 @@ import { sessions, withSiteId } from 'App/routes';
import AnimatedSVG from 'Shared/AnimatedSVG';
import { ICONS } from 'Shared/AnimatedSVG/AnimatedSVG';
import { NavLink } from 'react-router-dom';
import { Button, Tooltip } from 'antd';
import { Button } from 'antd';
const SESSIONS_PATH = sessions();
@ -14,11 +14,9 @@ interface Props {
function Logo(props: Props) {
return (
<NavLink to={withSiteId(SESSIONS_PATH, props.siteId)}>
<Tooltip title={`v${window.env.VERSION}`}>
<Button type="link" className="p-0">
<AnimatedSVG name={ICONS.LOGO_FULL} size='150' />
</Button>
</Tooltip>
<Button type='link' className='p-0'>
<AnimatedSVG name={ICONS.LOGO_FULL} size='150' />
</Button>
</NavLink>
);
}

View file

@ -44,15 +44,6 @@ function TopRight(props: Props) {
<Notifications />
{/*<Button type='primary'>Hover me</Button>*/}
<NavLink to={CLIENT_PATH}>
<Popover content={<SettingsMenu account={account} />}>
<Button icon={<SettingOutlined />}></Button>
{/*<Icon name='gear' size='20' color='gray-dark' className='cursor-pointer' />*/}
</Popover>
</NavLink>
<HealthStatus />
<Popover content={<UserMenu className='' />} placement={'topRight'}>