diff --git a/CHANGELOG.md b/CHANGELOG.md
index c44c30fd6..21bd99035 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,7 +12,7 @@ changes.
### Added
--
+- Add share DRep button to every DRep instead of only our own [Issue 2686](https://github.com/IntersectMBO/govtool/issues/2686)
### Fixed
diff --git a/govtool/frontend/src/components/molecules/DataMissingHeader.tsx b/govtool/frontend/src/components/molecules/DataMissingHeader.tsx
index a1eae8bd8..6689de9e5 100644
--- a/govtool/frontend/src/components/molecules/DataMissingHeader.tsx
+++ b/govtool/frontend/src/components/molecules/DataMissingHeader.tsx
@@ -7,6 +7,8 @@ import {
getMetadataDataMissingStatusTranslation,
} from "@/utils";
import { ICONS } from "@/consts";
+import { Share } from "./Share";
+import { useScreenDimension } from "@/hooks";
type DataMissingHeaderProps = {
isDataMissing: MetadataValidationStatus | null;
@@ -24,6 +26,7 @@ export const DataMissingHeader = ({
image,
}: DataMissingHeaderProps) => {
const base64Image = getBase64ImageDetails(image ?? "");
+ const { screenWidth } = useScreenDimension();
return (
+ {screenWidth >= 1020 && }
);
};
diff --git a/govtool/frontend/src/components/organisms/DRepDetailsCardHeader.tsx b/govtool/frontend/src/components/organisms/DRepDetailsCardHeader.tsx
index ecbb61eba..6578d5d7c 100644
--- a/govtool/frontend/src/components/organisms/DRepDetailsCardHeader.tsx
+++ b/govtool/frontend/src/components/organisms/DRepDetailsCardHeader.tsx
@@ -10,7 +10,7 @@ import {
useScreenDimension,
useTranslation,
} from "@hooks";
-import { DataMissingHeader, Share } from "@molecules";
+import { DataMissingHeader } from "@molecules";
import { correctDRepDirectoryFormat } from "@utils";
import { DRepData } from "@/models";
@@ -115,7 +115,6 @@ export const DRepDetailsCardHeader = ({
style={{ marginLeft: "4px" }}
/>
- {screenWidth >= 1020 && }
)}