Fix Interface Variable Names

This commit is contained in:
aftabrehan
2024-02-03 20:13:09 +05:00
parent 214ee9dd21
commit 759026d203
11 changed files with 25 additions and 22 deletions

View File

@@ -5,7 +5,7 @@ import { ModalPortal } from '@/components/modal/modal-portal'
import { useClickOutside } from '@/hooks/useClickOutside'
interface modalProps {
interface ModalProps {
isOpen: boolean
close: () => void
children: React.ReactNode
@@ -19,7 +19,7 @@ export const Modal = ({
children,
closeOnClickAway = false,
className,
}: modalProps) => {
}: ModalProps) => {
const contentRef = useRef(null)
useClickOutside({