Skip to content

Commit a0f4ce0

Browse files
committed
Add container for ns income section
1 parent 6cc05b6 commit a0f4ce0

File tree

2 files changed

+7
-3
lines changed
  • app/src/views/CountryNsOverviewContextAndStructure

2 files changed

+7
-3
lines changed

app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyLocalUnits/LocalUnitsTable/LocalUnitTableActions/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function LocalUnitsTableActions(props: Props) {
8787
confirmHeading={strings.validateLocalUnitHeading}
8888
confirmMessage={resolveToString(
8989
strings.validateLocalUnitMessage,
90-
{ localUnitName },
90+
{ localUnitName: localUnitName ?? '' },
9191
)}
9292
onConfirm={handleLocalUnitValidate}
9393
disabled={validateLocalUnitPending}

app/src/views/CountryNsOverviewContextAndStructure/index.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ export function Component() {
7676
databankResponse={databankResponse}
7777
/>
7878
<NationalSocietyLocalUnits />
79-
<div className={styles.nsIncome}>
79+
<Container
80+
contentViewType="grid"
81+
numPreferredGridContentColumns={2}
82+
spacing="relaxed"
83+
>
8084
<NationalSocietyIncomeOverTime
8185
selectedYear={selectedYearForIncome}
8286
setSelectedYear={setSelectedYearForIncome}
@@ -88,7 +92,7 @@ export function Component() {
8892
countryId={Number(countryId)}
8993
/>
9094
)}
91-
</div>
95+
</Container>
9296
<div className={styles.nsDirectoryAndContacts}>
9397
<NationalSocietyDirectory className={styles.directory} />
9498
<NationalSocietyContacts className={styles.contacts} />

0 commit comments

Comments
 (0)