import Link from 'next/link' import { CogIcon, PlusIcon } from '@heroicons/react/solid' import { useGuildMember } from '../../../contexts/GuildMember' import { Divider } from '../../design/Divider' import { Channels } from '../Channels' import { IconButton } from '../../design/IconButton' import { GuildsChannelsPath } from '..' export interface GuildLeftSidebarProps { path: GuildsChannelsPath } export const GuildLeftSidebar: React.FC = (props) => { const { path } = props const { guild, member } = useGuildMember() return (

{guild.name}

{member.isOwner && ( )}
) }