Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Apr 25, 2024
1 parent f842ea6 commit 251efa6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Head from "next/head";
import { useTranslation } from "next-i18next";
import { serverSideTranslations } from "next-i18next/serverSideTranslations";
import { useContext } from "react";
import {
ButtonLink,
Document,
Expand All @@ -23,7 +24,6 @@ import {
} from "../src/components";
import { PageFooterTemplate } from "../src/components/huwelijksplanner/PageFooterTemplate";
import { PageHeaderTemplate } from "../src/components/huwelijksplanner/PageHeaderTemplate";
import { useContext, useEffect } from "react";
import { MarriageOptionsContext } from "../src/context/MarriageOptionsContext";

export const getServerSideProps = async ({ locale }: { locale: string }) => ({
Expand Down
8 changes: 4 additions & 4 deletions pages/voorgenomen-huwelijk/betalen/succes.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { UtrechtBadgeStatus } from "@utrecht/web-component-library-react";
import { addWeeks } from "date-fns";
import _ from "lodash";
import Head from "next/head";
import { useRouter } from "next/router";
import { useTranslation } from "next-i18next";
Expand Down Expand Up @@ -36,11 +38,9 @@ import {
} from "../../../src/components";
import { PageFooterTemplate } from "../../../src/components/huwelijksplanner/PageFooterTemplate";
import { PageHeaderTemplate } from "../../../src/components/huwelijksplanner/PageHeaderTemplate";
import { exampleState, HuwelijksplannerState, Reservation } from "../../../src/data/huwelijksplanner-state";
import { MarriageOptionsContext } from "../../../src/context/MarriageOptionsContext";
import { exampleState, HuwelijksplannerState, Reservation } from "../../../src/data/huwelijksplanner-state";
import { HuwelijkService } from "../../../src/generated";
import { addWeeks } from "date-fns";
import _ from "lodash";

export const getServerSideProps = async ({ locale }: { locale: string }) => ({
props: {
Expand Down Expand Up @@ -95,7 +95,7 @@ export default function HuwelijksplannerStep0() {
};

function parseISOString(s: any) {
var b = s.split(/\D+/);
const b = s.split(/\D+/);
return new Date(Date.UTC(b[0], --b[1], b[2], b[3], b[4], b[5], b[6]));
}

Expand Down

0 comments on commit 251efa6

Please sign in to comment.