mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
Clean up imports
This commit is contained in:
parent
f4b859354c
commit
599fa117cd
5 changed files with 5 additions and 8 deletions
|
@ -1,5 +1,4 @@
|
||||||
import { ReactNode } from "react"
|
import { default as ReactMarkdown } from "react-markdown"
|
||||||
import ReactMarkdown from "react-markdown"
|
|
||||||
|
|
||||||
type FestaMarkdownProps = {
|
type FestaMarkdownProps = {
|
||||||
markdown: string,
|
markdown: string,
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
import { faArrowLeft } from "@fortawesome/free-solid-svg-icons";
|
|
||||||
import { NextPageContext } from "next";
|
import { NextPageContext } from "next";
|
||||||
import { useTranslation } from "next-i18next";
|
import { useTranslation } from "next-i18next";
|
||||||
import { serverSideTranslations } from "next-i18next/serverSideTranslations";
|
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 { ErrorBlock } from "../components/errors/ErrorBlock";
|
||||||
import { FestaIcon } from "../components/extensions/FestaIcon";
|
|
||||||
import { Postcard } from "../components/postcard/Postcard";
|
import { Postcard } from "../components/postcard/Postcard";
|
||||||
import { ViewNotice } from "../components/view/ViewNotice";
|
import { ViewNotice } from "../components/view/ViewNotice";
|
||||||
import errorPostcard from "../public/postcards/markus-spiske-iar-afB0QQw-unsplash-red.jpg"
|
import errorPostcard from "../public/postcards/markus-spiske-iar-afB0QQw-unsplash-red.jpg"
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { Event, User } from "@prisma/client";
|
||||||
import { NextPageContext } from "next";
|
import { NextPageContext } from "next";
|
||||||
import { useTranslation } from "next-i18next";
|
import { useTranslation } from "next-i18next";
|
||||||
import { serverSideTranslations } from "next-i18next/serverSideTranslations";
|
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 { ChangeEvent, useCallback, useState } from "react";
|
||||||
import { ToolBar } from "../../components/tools/ToolBar";
|
import { ToolBar } from "../../components/tools/ToolBar";
|
||||||
import { EditableMarkdown } from "../../components/editable/EditableMarkdown";
|
import { EditableMarkdown } from "../../components/editable/EditableMarkdown";
|
||||||
|
|
Loading…
Reference in a new issue