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

Remove more unused imports

This commit is contained in:
Steffo 2022-06-02 04:31:09 +02:00
parent c84ef05393
commit c6d0234d04
Signed by: steffo
GPG key ID: 6965406171929D01
4 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,5 @@
import { createStateContext } from "../utils/stateContext"; import { createStateContext } from "../utils/stateContext";
import { StaticImageData } from "next/image"; import { StaticImageData } from "next/image";
import * as Telegram from "../utils/TelegramLoginDataClass"
/** /**

View file

@ -1,4 +1,4 @@
import { AxiosError, AxiosRequestConfig, AxiosResponse } from "axios"; import { AxiosRequestConfig, AxiosResponse } from "axios";
import { useCallback, useReducer } from "react"; import { useCallback, useReducer } from "react";
import { useAxios } from "./useAxios"; import { useAxios } from "./useAxios";

View file

@ -2,7 +2,6 @@ import { database } from "../../../utils/prismaClient";
import { NextApiRequest, NextApiResponse } from "next"; import { NextApiRequest, NextApiResponse } from "next";
import { ApiResult } from "../../../types/api"; import { ApiResult } from "../../../types/api";
import { Model, restInPeace } from "../../../utils/restInPeace"; import { Model, restInPeace } from "../../../utils/restInPeace";
import { default as cryptoRandomString} from "crypto-random-string";
import { handleInterrupts, Interrupt } from "../../../utils/interrupt"; import { handleInterrupts, Interrupt } from "../../../utils/interrupt";
import { authorizeUser } from "../../../utils/authorizeUser"; import { authorizeUser } from "../../../utils/authorizeUser";
import { Event } from "@prisma/client"; import { Event } from "@prisma/client";

View file

@ -1,7 +1,7 @@
import { database } from "../../../utils/prismaClient"; import { database } from "../../../utils/prismaClient";
import { NextApiRequest, NextApiResponse } from "next"; import { NextApiRequest, NextApiResponse } from "next";
import { ApiResult } from "../../../types/api"; import { ApiResult } from "../../../types/api";
import { Model, restInPeace } from "../../../utils/restInPeace"; import { restInPeace } from "../../../utils/restInPeace";
import { default as cryptoRandomString } from "crypto-random-string"; import { default as cryptoRandomString } from "crypto-random-string";
import { handleInterrupts, Interrupt } from "../../../utils/interrupt"; import { handleInterrupts, Interrupt } from "../../../utils/interrupt";
import { authorizeUser } from "../../../utils/authorizeUser"; import { authorizeUser } from "../../../utils/authorizeUser";