import Image from "next/image"; import { useTheme } from "next-themes"; // assets import DarkImage from "public/empty-state/dashboard/dark/issues-by-priority.svg"; import LightImage from "public/empty-state/dashboard/light/issues-by-priority.svg"; // helpers import { cn } from "helpers/common.helper"; import { replaceUnderscoreIfSnakeCase } from "helpers/string.helper"; // types import { TDurationFilterOptions } from "@plane/types"; type Props = { filter: TDurationFilterOptions; }; export const IssuesByPriorityEmptyState: React.FC = (props) => { const { filter } = props; // next-themes const { resolvedTheme } = useTheme(); return (

No assigned issues {replaceUnderscoreIfSnakeCase(filter)}.

Issues by priority
); };