diff --git a/govtool/frontend/src/components/molecules/EmptyStateGovernanceActionsCategory.tsx b/govtool/frontend/src/components/molecules/EmptyStateGovernanceActionsCategory.tsx
new file mode 100644
index 000000000..5ed979ac8
--- /dev/null
+++ b/govtool/frontend/src/components/molecules/EmptyStateGovernanceActionsCategory.tsx
@@ -0,0 +1,40 @@
+import { Typography } from "@atoms";
+import { useTranslation } from "@hooks";
+import { getProposalTypeLabel } from "@utils";
+
+import { EmptyStateGovernanceActionsCategoryProps } from "./types";
+
+export const EmptyStateGovernanceActionsCategory = ({
+ category,
+ isSearch,
+}: EmptyStateGovernanceActionsCategoryProps) => {
+ const { t } = useTranslation();
+
+ return (
+
+ {isSearch ? (
+ t("govActions.noResultsForTheSearch")
+ ) : (
+ <>
+ {t("govActions.withCategoryNotExist.partOne")}
+
+
+ {getProposalTypeLabel(category ?? "")}
+
+
+ {t("govActions.withCategoryNotExist.partTwo")}
+ >
+ )}
+
+ );
+};
diff --git a/govtool/frontend/src/components/molecules/index.ts b/govtool/frontend/src/components/molecules/index.ts
index 419010f63..dad2697b0 100644
--- a/govtool/frontend/src/components/molecules/index.ts
+++ b/govtool/frontend/src/components/molecules/index.ts
@@ -10,6 +10,7 @@ export * from "./DataActionsFilters";
export * from "./DataActionsSorting";
export * from "./DataMissingInfoBox";
export * from "./DRepInfoCard";
+export * from "./EmptyStateGovernanceActionsCategory";
export * from "./Field";
export * from "./GovActionDetails";
export * from "./GovernanceActionCard";
diff --git a/govtool/frontend/src/components/molecules/types.ts b/govtool/frontend/src/components/molecules/types.ts
index 88f349091..f67f05ba1 100644
--- a/govtool/frontend/src/components/molecules/types.ts
+++ b/govtool/frontend/src/components/molecules/types.ts
@@ -21,3 +21,8 @@ export type SoleVoterActionProps = {
onClickArrow: () => void;
sx?: SxProps;
};
+
+export type EmptyStateGovernanceActionsCategoryProps = {
+ category?: string;
+ isSearch?: boolean;
+};
diff --git a/govtool/frontend/src/pages/DashboardGovernanceActionsCategory.tsx b/govtool/frontend/src/pages/DashboardGovernanceActionsCategory.tsx
index 77cdebdb2..5c8ab4318 100644
--- a/govtool/frontend/src/pages/DashboardGovernanceActionsCategory.tsx
+++ b/govtool/frontend/src/pages/DashboardGovernanceActionsCategory.tsx
@@ -5,7 +5,11 @@ import { Box, CircularProgress, Link } from "@mui/material";
import { Background, Typography } from "@atoms";
import { GOVERNANCE_ACTIONS_SORTING, ICONS, PATHS } from "@consts";
import { useCardano } from "@context";
-import { DataActionsBar, GovernanceActionCard } from "@molecules";
+import {
+ DataActionsBar,
+ EmptyStateGovernanceActionsCategory,
+ GovernanceActionCard,
+} from "@molecules";
import {
useDataActionsBar,
useFetchNextPageDetector,
@@ -109,30 +113,10 @@ export const DashboardGovernanceActionsCategory = () => {
) : !mappedData?.length ? (
-
-
-
- {t("govActions.withCategoryNotExist.partOne")}
-
-
-
- {` ${category} `}
-
-
-
- {t("govActions.withCategoryNotExist.partTwo")}
-
-
-
+
) : (
{
{!isProposalsLoading ? (
!mappedData?.length ? (
-
-
-
- {t("govActions.withCategoryNotExist.partOne")}
-
-
-
- {category}
-
-
- {debouncedSearchText && (
- <>
-
- {t("govActions.withCategoryNotExist.optional")}
-
-
-
- {debouncedSearchText}
-
- >
- )}
-
-
- {t("govActions.withCategoryNotExist.partTwo")}
-
-
-
+
) : (