diff --git a/apps/web/screens/Grants/Grant/GrantSidebar/ExtraPanel.tsx b/apps/web/screens/Grants/Grant/GrantSidebar/ExtraPanel.tsx index 3719b83d0ffd..c10c4a1ea1eb 100644 --- a/apps/web/screens/Grants/Grant/GrantSidebar/ExtraPanel.tsx +++ b/apps/web/screens/Grants/Grant/GrantSidebar/ExtraPanel.tsx @@ -70,11 +70,11 @@ const ExtraPanel: React.FC = ({ grant }) => { [grant.files, supportLinksPanelData], ) - return ( + return filesPanelData.length > 0 ? ( {filesPanelData} - ) + ) : null } export default ExtraPanel diff --git a/libs/island-ui/core/src/lib/InfoCardGrid/DetailedInfoCard.tsx b/libs/island-ui/core/src/lib/InfoCardGrid/DetailedInfoCard.tsx index 460caae479b6..a10a3a4d875b 100644 --- a/libs/island-ui/core/src/lib/InfoCardGrid/DetailedInfoCard.tsx +++ b/libs/island-ui/core/src/lib/InfoCardGrid/DetailedInfoCard.tsx @@ -171,12 +171,19 @@ export const DetailedInfoCard = ({ } return ( - <> - {renderHeader()} - {renderContent()} + +
+ {renderHeader()} + {renderContent()} +
{renderTags()} - +
) }