import Image from "next/image"; import { useTheme } from "next-themes"; // types import { ASSIGNED_ISSUES_EMPTY_STATES } from "constants/dashboard"; import { TIssuesListTypes } from "@plane/types"; // constants type Props = { type: TIssuesListTypes; }; export const AssignedIssuesEmptyState: React.FC = (props) => { const { type } = props; // next-themes const { resolvedTheme } = useTheme(); const typeDetails = ASSIGNED_ISSUES_EMPTY_STATES[type]; const image = resolvedTheme === "dark" ? typeDetails.darkImage : typeDetails.lightImage; // TODO: update empty state logic to use a general component return (
Assigned issues

{typeDetails.title}

); };