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:
parent
f4b859354c
commit
599fa117cd
5 changed files with 5 additions and 8 deletions
|
@ -1,5 +1,4 @@
|
|||
import { ReactNode } from "react"
|
||||
import ReactMarkdown from "react-markdown"
|
||||
import { default as ReactMarkdown } from "react-markdown"
|
||||
|
||||
type FestaMarkdownProps = {
|
||||
markdown: string,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {default as classNames} from "classnames"
|
||||
import { default as classNames } from "classnames"
|
||||
import { ReactNode } from "react"
|
||||
|
||||
type ToolBarProps = {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue