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