diff --git a/govtool/frontend/src/pages/DRepDetails.tsx b/govtool/frontend/src/pages/DRepDetails.tsx
index 1d0783358..1ab2d2d1a 100644
--- a/govtool/frontend/src/pages/DRepDetails.tsx
+++ b/govtool/frontend/src/pages/DRepDetails.tsx
@@ -50,7 +50,7 @@ export const DRepDetails = ({ isConnected }: DRepDetailsProps) => {
const { data, isLoading } = useGetDRepListQuery(dRepParam);
const dRep = data?.[0];
- if (!dRep && isLoading) return ;
+ if (!dRep && isLoading) return ;
if (!dRep) return ;
diff --git a/govtool/frontend/src/pages/DRepDirectoryContent.tsx b/govtool/frontend/src/pages/DRepDirectoryContent.tsx
index 58b8b3daf..250457df3 100644
--- a/govtool/frontend/src/pages/DRepDirectoryContent.tsx
+++ b/govtool/frontend/src/pages/DRepDirectoryContent.tsx
@@ -21,7 +21,6 @@ export const DRepDirectoryContent: FC = ({
}) => {
const {
dRepID: myDRepId,
- isEnabled,
pendingTransaction,
stakeKey,
} = useCardano();
@@ -40,7 +39,7 @@ export const DRepDirectoryContent: FC = ({
const myDrep = myDRepList?.[0];
const { data: dRepList } = useGetDRepListQuery();
- if (!isEnabled || votingPower === undefined || !dRepList) {
+ if ((stakeKey && votingPower === undefined) || !dRepList) {
return ;
}