feat: add onclick event to login icon in footer component
This commit is contained in:
parent
c04fd62bec
commit
d850fd315a
@ -13,9 +13,9 @@ const Footer: FC<FooterProps> = ({ route, onExit }) => {
|
|||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<WindowFooter onClick={() => onExit()}>
|
<WindowFooter>
|
||||||
<FooterText className="nodrag">
|
<FooterText className="nodrag">
|
||||||
<Tag bordered={false} icon={<LoginOutlined />}>
|
<Tag bordered={false} icon={<LoginOutlined />} onClick={() => onExit()}>
|
||||||
{t('miniwindow.footer.esc', {
|
{t('miniwindow.footer.esc', {
|
||||||
action: route === 'home' ? t('miniwindow.footer.esc_close') : t('miniwindow.footer.esc_back')
|
action: route === 'home' ? t('miniwindow.footer.esc_close') : t('miniwindow.footer.esc_back')
|
||||||
})}
|
})}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user