diff --git a/components/extensions/FestaMarkdown.tsx b/components/extensions/FestaMarkdown.tsx index c15e665..923cd2f 100644 --- a/components/extensions/FestaMarkdown.tsx +++ b/components/extensions/FestaMarkdown.tsx @@ -1,5 +1,4 @@ -import { ReactNode } from "react" -import ReactMarkdown from "react-markdown" +import { default as ReactMarkdown } from "react-markdown" type FestaMarkdownProps = { markdown: string, diff --git a/components/tools/ToolBar.tsx b/components/tools/ToolBar.tsx index 7c1e610..1020a6e 100644 --- a/components/tools/ToolBar.tsx +++ b/components/tools/ToolBar.tsx @@ -1,4 +1,4 @@ -import {default as classNames} from "classnames" +import { default as classNames } from "classnames" import { ReactNode } from "react" type ToolBarProps = { diff --git a/pages/404.tsx b/pages/404.tsx index fc28d03..cbe8509 100644 --- a/pages/404.tsx +++ b/pages/404.tsx @@ -1,10 +1,8 @@ -import { faArrowLeft } from "@fortawesome/free-solid-svg-icons"; import { NextPageContext } from "next"; import { useTranslation } from "next-i18next"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; -import Link from "next/link"; +import { default as Link } from "next/link"; import { ErrorBlock } from "../components/errors/ErrorBlock"; -import { FestaIcon } from "../components/extensions/FestaIcon"; import { Postcard } from "../components/postcard/Postcard"; import { ViewNotice } from "../components/view/ViewNotice"; import errorPostcard from "../public/postcards/markus-spiske-iar-afB0QQw-unsplash-red.jpg" diff --git a/pages/events/[slug].tsx b/pages/events/[slug].tsx index abbbdd2..dcadb45 100644 --- a/pages/events/[slug].tsx +++ b/pages/events/[slug].tsx @@ -2,7 +2,7 @@ import { Event, User } from "@prisma/client"; import { NextPageContext } from "next"; import { useTranslation } from "next-i18next"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; -import Head from "next/head"; +import { default as Head } from "next/head"; import { ChangeEvent, useCallback, useState } from "react"; import { ToolBar } from "../../components/tools/ToolBar"; import { EditableMarkdown } from "../../components/editable/EditableMarkdown"; diff --git a/pages/index.tsx b/pages/index.tsx index b2dc8bf..41f1e1f 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -5,7 +5,7 @@ import { LoginContext } from '../contexts/login' import { useDefinedContext } from '../utils/definedContext' import { ActionLoginTelegram } from '../components/ActionLoginTelegram' import { ActionEventList } from '../components/ActionEventList' -import {default as Head} from 'next/head' +import { default as Head } from 'next/head' import defaultPostcard from "../public/postcards/adi-goldstein-Hli3R6LKibo-unsplash.jpg" import { Postcard } from '../components/postcard/Postcard' import { ViewLanding } from '../components/view/ViewLanding'