From 04a764e7d40eac9e1cd9b26a70ea959af04901eb Mon Sep 17 00:00:00 2001 From: Austin Turner Date: Wed, 19 Feb 2025 20:03:24 -0700 Subject: [PATCH] Fix landing page modal --- apps/landing/components/Modal.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/landing/components/Modal.tsx b/apps/landing/components/Modal.tsx index b16b3033..054d5dda 100644 --- a/apps/landing/components/Modal.tsx +++ b/apps/landing/components/Modal.tsx @@ -1,5 +1,5 @@ import { Dialog, DialogBackdrop, TransitionChild } from '@headlessui/react'; -import { Bars3Icon } from '@heroicons/react/24/outline'; +import { XMarkIcon } from '@heroicons/react/24/outline'; import { Fragment } from 'react'; export interface ModalProps { @@ -18,10 +18,11 @@ export const Modal = ({ onClose, }: ModalProps) => { return ( - onClose()}> + onClose()}> onClose()} />
{/* This element is to trick the browser into centering the modal contents. */} @@ -45,7 +46,7 @@ export const Modal = ({ onClick={() => onClose()} > Close -
{children}