import Image from "next/image"; import { useTheme } from "next-themes"; // types import { TIssuesListTypes } from "@plane/types"; // constants import { CREATED_ISSUES_EMPTY_STATES } from "constants/dashboard"; type Props = { type: TIssuesListTypes; }; export const CreatedIssuesEmptyState: React.FC = (props) => { const { type } = props; // next-themes const { resolvedTheme } = useTheme(); const typeDetails = CREATED_ISSUES_EMPTY_STATES[type]; const image = resolvedTheme === "dark" ? typeDetails.darkImage : typeDetails.lightImage; return (
Assigned issues

{typeDetails.title}

); };