π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-5271] chore: your work empty state updated #8029
Anmol Singh Bhatia5247fedd23b3
diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/profile-view.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/profile-view.tsxindex 26f8e52abc..b714855de2 100644--- a/apps/web/core/components/issues/issue-layouts/empty-states/profile-view.tsx+++ b/apps/web/core/components/issues/issue-layouts/empty-states/profile-view.tsx@@ -2,9 +2,7 @@ import { observer } from "mobx-react";import { useParams } from "next/navigation";// componentsimport { useTranslation } from "@plane/i18n";-import { DetailedEmptyState } from "@/components/empty-state/detailed-empty-state-root";-// constants-import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";+import { EmptyStateDetailed } from "@plane/propel/empty-state";// TODO: If projectViewId changes, everything breaks. Figure out a better way to handle this.export const ProfileViewEmptyState: React.FC = observer(() => {@@ -12,19 +10,14 @@ export const ProfileViewEmptyState: React.FC = observer(() => {const { t } = useTranslation();// store hooksconst { profileViewId } = useParams();- // derived values- const resolvedPath = useResolvedAssetPath({- basePath: "/empty-state/profile/",- additionalPath: profileViewId?.toString(),- });if (!profileViewId) return null;return (- <DetailedEmptyState+ <EmptyStateDetailed+ assetKey="work-item"title={t(`profile.empty_state.${profileViewId.toString()}.title`)}description={t(`profile.empty_state.${profileViewId.toString()}.description`)}- assetPath={resolvedPath}/>);});