From e8c3618a9ebade5b2f93cfa4f495229ad7d0a475 Mon Sep 17 00:00:00 2001 From: Remko Date: Wed, 28 Feb 2024 11:15:21 +0100 Subject: [PATCH] lint-fix --- pages/_document.tsx | 6 +----- pages/email-reservation-success.tsx | 2 +- pages/voorgenomen-huwelijk/partner/aanvrager-email.tsx | 2 +- .../partner/invitation-email-partner.tsx | 3 +-- src/components/huwelijksplanner/PageFooterTemplate.tsx | 2 +- src/components/logo.tsx | 2 +- 6 files changed, 6 insertions(+), 11 deletions(-) diff --git a/pages/_document.tsx b/pages/_document.tsx index 0bdd9b3..6660642 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -5,11 +5,7 @@ export default function Document() { - +
diff --git a/pages/email-reservation-success.tsx b/pages/email-reservation-success.tsx index 54c47c1..460695e 100644 --- a/pages/email-reservation-success.tsx +++ b/pages/email-reservation-success.tsx @@ -8,12 +8,12 @@ import { Document, Email, Heading1, + Logo, Page, PageContent, PageContentMain, Paragraph, URLValue, - Logo, } from "../src/components"; export const getServerSideProps = async ({ locale }: { locale: string }) => ({ diff --git a/pages/voorgenomen-huwelijk/partner/aanvrager-email.tsx b/pages/voorgenomen-huwelijk/partner/aanvrager-email.tsx index 986d09c..11659a3 100644 --- a/pages/voorgenomen-huwelijk/partner/aanvrager-email.tsx +++ b/pages/voorgenomen-huwelijk/partner/aanvrager-email.tsx @@ -9,12 +9,12 @@ import { Document, Email, Heading1, + Logo, Page, PageContent, PageContentMain, Paragraph, URLValue, - Logo, } from "../../../src/components"; import { exampleState } from "../../../src/data/huwelijksplanner-state"; diff --git a/pages/voorgenomen-huwelijk/partner/invitation-email-partner.tsx b/pages/voorgenomen-huwelijk/partner/invitation-email-partner.tsx index 860c63a..6ffbd6d 100644 --- a/pages/voorgenomen-huwelijk/partner/invitation-email-partner.tsx +++ b/pages/voorgenomen-huwelijk/partner/invitation-email-partner.tsx @@ -23,7 +23,6 @@ import { UtrechtDigidButton, UtrechtIconArrow } from "@utrecht/web-component-library-react"; import Head from "next/head"; -import Link from "next/link"; import { useTranslation } from "next-i18next"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; import { @@ -33,12 +32,12 @@ import { Document, Email, Heading1, + Logo, Page, PageContent, PageContentMain, Paragraph, URLValue, - Logo, } from "../../../src/components"; import { exampleState } from "../../../src/data/huwelijksplanner-state"; diff --git a/src/components/huwelijksplanner/PageFooterTemplate.tsx b/src/components/huwelijksplanner/PageFooterTemplate.tsx index d3b68e9..24f2461 100644 --- a/src/components/huwelijksplanner/PageFooterTemplate.tsx +++ b/src/components/huwelijksplanner/PageFooterTemplate.tsx @@ -17,7 +17,7 @@ export const PageFooterTemplate = () => { {data && data?.content.map((item: any, idx: number) => ( -
+

{item.title}

{item.title === "Telefoon" && ( diff --git a/src/components/logo.tsx b/src/components/logo.tsx index e512533..4b2c909 100644 --- a/src/components/logo.tsx +++ b/src/components/logo.tsx @@ -1,5 +1,5 @@ -import * as React from "react"; import clsx from "clsx"; +import * as React from "react"; interface LogoProps { variant?: "header" | "footer" | "navbar";