Add Tooltip to settings icon

pull/1049/head
Ryan Alexander 2021-08-16 01:40:58 +10:00 committed by GitHub
parent 61372cfa1e
commit 2befb9e74e
1 changed files with 7 additions and 3 deletions

View File

@ -320,9 +320,13 @@ export const ServerListSidebar = observer(({ unreads, lastOpened }: Props) => {
{!isTouchscreenDevice && (
<SettingsButton>
<Link to="/settings">
<IconButton>
<Cog size={32} strokeWidth="0.5" />
</IconButton>
<Tooltip
content="Settings"
placement="right">
<IconButton>
<Cog size={32} strokeWidth="0.5" />
</IconButton>
</Tooltip>
</Link>
</SettingsButton>
)}