import { useRouter } from "next/router"; // hooks import useInboxView from "hooks/use-inbox-view"; // components import { InboxIssueCard, InboxFiltersList } from "components/inbox"; // ui import { Loader } from "@plane/ui"; export const IssuesListSidebar = () => { const router = useRouter(); const { inboxIssueId } = router.query; const { issues: inboxIssues, filtersLength } = useInboxView(); return (
{inboxIssues ? ( inboxIssues.length > 0 ? (
{inboxIssues.map((issue: any) => ( ))}
) : (
{filtersLength > 0 && "No issues found for the selected filters. Try changing the filters."}
) ) : ( )}
); };