1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

Clean up imports

This commit is contained in:
Steffo 2022-06-08 04:52:41 +02:00
parent f4b859354c
commit 599fa117cd
Signed by: steffo
GPG key ID: 6965406171929D01
5 changed files with 5 additions and 8 deletions

View file

@ -1,5 +1,4 @@
import { ReactNode } from "react"
import ReactMarkdown from "react-markdown"
import { default as ReactMarkdown } from "react-markdown"
type FestaMarkdownProps = {
markdown: string,

View file

@ -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"

View file

@ -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";