import Image from "next/image"; import { useTheme } from "next-themes"; // helpers import { cn } from "helpers/common.helper"; // types import { TDurationFilterOptions, TIssuesListTypes } from "@plane/types"; // constants import { ASSIGNED_ISSUES_EMPTY_STATES } from "constants/dashboard"; type Props = { filter: TDurationFilterOptions; type: TIssuesListTypes; }; export const AssignedIssuesEmptyState: React.FC = (props) => { const { filter, type } = props; // next-themes const { resolvedTheme } = useTheme(); const typeDetails = ASSIGNED_ISSUES_EMPTY_STATES[type]; const image = resolvedTheme === "dark" ? typeDetails.darkImage : typeDetails.lightImage; return (

{typeDetails.title(filter)}

Assigned issues
); };