Add Tooltip to settings icon

This commit is contained in:
Ryan Alexander 2021-08-16 01:40:58 +10:00 committed by GitHub
parent 5dbee0c42a
commit 3e3c490a22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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