diff --git a/web/src/pages/ServerDashboard.tsx b/web/src/pages/ServerDashboard.tsx index 07021b8..494e634 100644 --- a/web/src/pages/ServerDashboard.tsx +++ b/web/src/pages/ServerDashboard.tsx @@ -9,10 +9,10 @@ import { H1 } from '@revoltchat/ui/lib/components/atoms/heading/H1'; import { H3 } from '@revoltchat/ui/lib/components/atoms/heading/H3'; import { H4 } from '@revoltchat/ui/lib/components/atoms/heading/H4'; import { Icon } from '@mdi/react'; -import { mdiCloseBox } from '@mdi/js'; +import { mdiChevronLeft, mdiCloseBox } from '@mdi/js'; import { API_URL } from "../App"; import { getAuthHeaders } from "../utils"; -import { useParams } from "react-router-dom"; +import { Link, useParams } from "react-router-dom"; import defaultChannelIcon from '../assets/channel-default-icon.svg'; type User = { id: string, username?: string, avatarURL?: string } @@ -108,7 +108,13 @@ const ServerDashboard: FunctionComponent = () => { return ( <> -

{serverInfo?.name ?? 'Loading...'}

+ +
+ + Back +
+ +

{serverInfo?.name ?? 'Loading...'}

{status.length ? {status} :
}