From 15c6213840a8314d9d0169b5d110bc843fc9bebe Mon Sep 17 00:00:00 2001 From: Yee Jia Wei Date: Sun, 17 Dec 2023 17:08:12 +0800 Subject: [PATCH] update modal icons --- components/Modal.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/Modal.tsx b/components/Modal.tsx index 2ddf656..035b633 100644 --- a/components/Modal.tsx +++ b/components/Modal.tsx @@ -1,7 +1,5 @@ -import { MouseEventHandler, ReactNode, useEffect } from "react"; +import React, { MouseEventHandler, ReactNode } from "react"; import ClickAwayHandler from "@/components/ClickAwayHandler"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faClose } from "@fortawesome/free-solid-svg-icons"; type Props = { toggleModal: Function; @@ -21,9 +19,11 @@ export default function Modal({ toggleModal, className, children }: Props) {
} - className="absolute top-3 right-3 btn btn-sm outline-none btn-circle btn-ghost z-10" + className="absolute top-4 right-3 btn btn-sm outline-none btn-circle btn-ghost z-10" > - +
{children}