From edf6c5cb65cbf103fb1848760595f5c381dac723 Mon Sep 17 00:00:00 2001
From: Olivi <225673551+Olivi-9@users.noreply.github.com>
Date: Wed, 15 Apr 2026 19:26:24 +0800
Subject: build(deps)!: update depends

---
 src/components/shared/BaseModal.tsx | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

(limited to 'src/components/shared/BaseModal.tsx')

diff --git a/src/components/shared/BaseModal.tsx b/src/components/shared/BaseModal.tsx
index 72dcba4..f7841f8 100644
--- a/src/components/shared/BaseModal.tsx
+++ b/src/components/shared/BaseModal.tsx
@@ -1,6 +1,7 @@
 import cx from 'clsx';
 import * as React from 'react';
-import Modal from 'react-modal';
+
+import Modal from '../Modal';
 
 import modalStyle from '../Modal.module.scss';
 
@@ -8,7 +9,13 @@ import s from './BaseModal.module.scss';
 
 const { useMemo } = React;
 
-export default function BaseModal({ isOpen, onRequestClose, children }) {
+type BaseModalProps = {
+  isOpen: boolean;
+  onRequestClose: (...args: any[]) => unknown;
+  children: React.ReactNode;
+};
+
+export default function BaseModal({ isOpen, onRequestClose, children }: BaseModalProps) {
   const className = useMemo(
     () => ({
       base: cx(modalStyle.content, s.cnt),
-- 
cgit v1.3.1

