diff --git a/src/App.tsx b/src/App.tsx index 42f40dc..6fd1780 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -72,7 +72,7 @@ const App: React.FC = () => { break; } }) - }, []) + }, [navigate]) const handleResize = (): void => { setWindowSize({ width: window.innerWidth, diff --git a/src/components/InvitingPersonnelModal/index.tsx b/src/components/InvitingPersonnelModal/index.tsx index 2637c54..3f82746 100644 --- a/src/components/InvitingPersonnelModal/index.tsx +++ b/src/components/InvitingPersonnelModal/index.tsx @@ -6,6 +6,7 @@ import { SearchOutlined } from '@ant-design/icons'; import { GetUserList } from '@/api/Home/User'; import { useLocation } from 'react-router-dom'; import { PostRoomInvite } from '@/api/Meeting'; +import { storage } from '@/utils'; const InvitingPersonnelModal = forwardRef((props: any, ref: any) => { useImperativeHandle(ref, () => ({ changeInvitingPersonnelModal: () => { @@ -164,8 +165,18 @@ const InvitingPersonnelModal = forwardRef((props: any, ref: any) => {