diff --git a/govtool/frontend/src/pages/DRepDetails.tsx b/govtool/frontend/src/pages/DRepDetails.tsx index 1aa8b95ae..736d07561 100644 --- a/govtool/frontend/src/pages/DRepDetails.tsx +++ b/govtool/frontend/src/pages/DRepDetails.tsx @@ -39,8 +39,20 @@ export const DRepDetails = ({ isConnected }: DRepDetailsProps) => { const { data, isLoading } = useGetDRepListQuery({ drepView: dRepParam }); const dRep = data?.[0]; - if (!dRep && isLoading) - return ; + if (!dRep || isLoading) + return ( + + + + ); if (!dRep) return ;