Skip to content

Commit

Permalink
quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Apr 25, 2024
1 parent 5b0b133 commit f842ea6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions pages/voorgenomen-huwelijk/betalen/succes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function HuwelijksplannerStep0() {

useEffect(() => {
if (marriageOptions.id) {
HuwelijkService.huwelijkGet({ id: "4d95e776-c887-4a56-86c8-dc01ff324efe" }).then((response: any) => {
HuwelijkService.huwelijkGet({ id: marriageOptions.id }).then((response: any) => {
const partnerString = response.results.find(
(result: any) =>
result.eigenschap ===
Expand All @@ -77,7 +77,7 @@ export default function HuwelijksplannerStep0() {
setWitnessData(witnesses);
});
}
}, []);
}, [marriageOptions.id]);

const getLocation = (location: string) => {
switch (location) {
Expand Down Expand Up @@ -423,13 +423,14 @@ export default function HuwelijksplannerStep0() {
<PageHeaderTemplate />
</PageHeader>
<PageContent>
<Button
{/* DEV */}
{/* <Button
onClick={() => {
push("/gateway-login?redirectUrl=/voorgenomen-huwelijk/betalen/succes");
}}
>
Login
</Button>
</Button> */}
<PageContentMain>
<Heading1>Melding Voorgenomen Huwelijk</Heading1>
<Paragraph>Stap 5 van 5 – Je huwelijksdatum is geregeld</Paragraph>
Expand Down Expand Up @@ -466,7 +467,8 @@ export default function HuwelijksplannerStep0() {
) : (
""
)}
<Button onClick={() => setGet(get + 1)}>Get</Button>
{/* DEV */}
{/* <Button onClick={() => setGet(get + 1)}>Get</Button> */}
<section>
<Heading3>Partners</Heading3>
{!_.isEmpty(partnerData) &&
Expand Down
6 changes: 3 additions & 3 deletions src/components/huwelijksplanner/PersonalDataList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ export const PersonalDataList = ({ partner }: { partner: IngeschrevenPersoon })
return (
<DataList aria-describedby="personal-details" className="utrecht-data-list--rows">
<DataListItem>
<DataListKey>{t("form:bsn")}</DataListKey>
<DataListKey>{t("form:bsn")}:</DataListKey>
<DataListValue value={partner.burgerservicenummer ?? ""} emptyDescription={t("form:data-item-unknown")}>
<NumberValue>{partner.burgerservicenummer}</NumberValue>
</DataListValue>
</DataListItem>
</DataListItem>{" "}
<DataListItem>
<DataListKey>{t("form:sex")}</DataListKey>
<DataListKey>{t("form:Geslacht")}:</DataListKey>
<DataListValue value={partner.geslachtsaanduiding ?? ""} emptyDescription={t("form:data-item-unknown")}>
{partner.geslachtsaanduiding ?? "-"}
</DataListValue>
Expand Down

0 comments on commit f842ea6

Please sign in to comment.