diff --git a/src/components/navigation/left/ServerListSidebar.tsx b/src/components/navigation/left/ServerListSidebar.tsx index 13933e7f..08f1b55e 100644 --- a/src/components/navigation/left/ServerListSidebar.tsx +++ b/src/components/navigation/left/ServerListSidebar.tsx @@ -5,9 +5,8 @@ import { Link, useHistory, useLocation, useParams } from "react-router-dom"; import { RelationshipStatus } from "revolt-api/types/Users"; import styled, { css } from "styled-components"; -import { Text } from "preact-i18n"; - import { attachContextMenu } from "preact-context-menu"; +import { Text } from "preact-i18n"; import ConditionalLink from "../../../lib/ConditionalLink"; import PaintCounter from "../../../lib/PaintCounter"; @@ -58,7 +57,17 @@ function Icon({ {unread === "mention" && ( <> - {count < 9 ? count : "9+"} + + {count < 10 ? count : "9+"} + )} @@ -268,7 +277,10 @@ export const ServerListSidebar = observer(({ unreads, lastOpened }: Props) => { homeActive && history.push("/settings") }> - + { - +