From 1b58f1100b4b4eedccb4125f8d8111dbcc3be735 Mon Sep 17 00:00:00 2001 From: Stefanos Hadjipetrou Date: Thu, 27 Jul 2023 19:26:46 +0300 Subject: [PATCH] fix: grant detail overview loading grant info --- .../components/sub-modules/overview/index.tsx | 56 ++++++++++--------- src/app/modules/grant-detail-module/index.tsx | 2 +- 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/src/app/modules/grant-detail-module/components/sub-modules/overview/index.tsx b/src/app/modules/grant-detail-module/components/sub-modules/overview/index.tsx index ef6112788..f846e451d 100644 --- a/src/app/modules/grant-detail-module/components/sub-modules/overview/index.tsx +++ b/src/app/modules/grant-detail-module/components/sub-modules/overview/index.tsx @@ -14,7 +14,7 @@ import { PageLoader } from "app/modules/common/page-loader"; import { ratingValues } from "app/components/Charts/PerformanceRating/data"; import { InvestmentRadialViz } from "app/modules/grant-detail-module/components/radial"; -export function GrantDetailOverviewModule(props: { period: string }) { +export function GrantDetailOverviewModule() { const cmsData = useCMSData({ returnData: true }); const isLoading = useStoreState((state) => state.GrantDetailInfo.loading); @@ -335,35 +335,37 @@ export function GrantDetailOverviewModule(props: { period: string }) { ))} -
-

- Principal Recipient: -

- - {grantInfoData.principalRecipient.name} ( - {grantInfoData.principalRecipient.shortName}) - -
+

+ Principal Recipient: +

+ + {grantInfoData.principalRecipient.name} ( + {grantInfoData.principalRecipient.shortName}) + + + )} {/* Overview */} - + {/* Budgets */}