Skip to content

Commit

Permalink
undo chnage
Browse files Browse the repository at this point in the history
  • Loading branch information
elcharitas committed Apr 19, 2024
1 parent ab9c52c commit 205d838
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions packages/ui-kit/src/components/modal/FullPageModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,14 @@ import { Dialog, Transition } from "@headlessui/react";

interface IProps {
isOpen: boolean;
closeActiveModal: () => void;
closeModal: () => void;
children: ReactNode;
}

export const FullPageModal: FC<IProps> = ({
isOpen,
closeActiveModal,
children,
}) => {
export const FullPageModal: FC<IProps> = ({ isOpen, closeModal, children }) => {
return (
<Transition appear show={isOpen} as={Fragment}>
<Dialog
as="div"
className="relative z-10"
onClose={closeActiveModal}
>
<Dialog as="div" className="relative z-10" onClose={closeModal}>
<Transition.Child
as={Fragment}
enter="ease-out duration-300"
Expand Down

0 comments on commit 205d838

Please sign in to comment.