import useTranslation from 'next-translate/useTranslation' import InfiniteScroll from 'react-infinite-scroll-component' import { IconButton } from 'components/design/IconButton' import { Avatar } from 'components/design/Avatar' import { SidebarItem } from './SidebarItem' import { SidebarList } from './SidebarList' import { API_URL } from 'utils/api' import { useGuilds } from 'contexts/Guilds' import { Tooltip } from 'components/design/Tooltip' import { useAuthentication } from 'utils/authentication' import { Loader } from 'components/design/Loader' import Link from 'next/link' export const Sidebar: React.FC = () => { const { guilds, nextPage } = useGuilds() const { t } = useTranslation() const { user } = useAuthentication() return ( <> ) }