mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
Clean up components code
This commit is contained in:
parent
5e1ff05c0a
commit
c708201379
9 changed files with 33 additions and 34 deletions
|
@ -1,4 +1,4 @@
|
|||
import classNames from "classnames";
|
||||
import { default as classNames } from "classnames";
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { HTMLProps } from "react";
|
||||
import { useMyEvents } from "../hooks/useMyEvents";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import Image, { ImageProps } from "next/image";
|
||||
import classNames from "classnames"
|
||||
import { default as Image, ImageProps } from "next/image";
|
||||
import { default as classNames } from "classnames"
|
||||
|
||||
export function Avatar(props: ImageProps) {
|
||||
return (
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Event } from "@prisma/client"
|
||||
import Link from "next/link"
|
||||
import { default as Link } from "next/link"
|
||||
|
||||
type EventListProps = {
|
||||
data: Event[]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { FontAwesomeIcon, FontAwesomeIconProps } from "@fortawesome/react-fontawesome";
|
||||
import classNames from "classnames";
|
||||
import { default as classNames } from "classnames";
|
||||
|
||||
export function FestaIcon(props: FontAwesomeIconProps) {
|
||||
const newClassName = classNames(props.className, "icon")
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import * as React from 'react';
|
||||
import { default as OriginalTelegramLoginButton } from 'react-telegram-login'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue