diff --git a/README.md b/README.md index 141ee083..d117378a 100644 --- a/README.md +++ b/README.md @@ -308,4 +308,4 @@ All commits and PR titles must follow [Conventional Commits](https://www.convent ## Acknowledgments -Built with NestJS, PostgreSQL, Prisma, OpenAI, and the support of the education technology community. +Built with NestJS, Prisma, PostgreSQL, OpenAI, and the support of the education technology community. diff --git a/apps/web/components/WarningAlert.tsx b/apps/web/components/WarningAlert.tsx index cf7dba55..92099dd1 100644 --- a/apps/web/components/WarningAlert.tsx +++ b/apps/web/components/WarningAlert.tsx @@ -1,5 +1,5 @@ import { ExclamationTriangleIcon } from "@heroicons/react/24/solid"; -import { type ReactNode } from "react"; +import { type FC, type ReactNode } from "react"; import { createPortal } from "react-dom"; interface ModalProps { @@ -12,7 +12,7 @@ interface ModalProps { children?: ReactNode; } -const WarningAlert: React.FC = ({ +const WarningAlert: FC = ({ isOpen, onClose, onConfirm, @@ -20,7 +20,7 @@ const WarningAlert: React.FC = ({ confirmText = "Proceed", cancelText = "Cancel", children, -}: ModalProps) => { +}) => { if (!isOpen) return null; return createPortal( @@ -28,6 +28,7 @@ const WarningAlert: React.FC = ({