diff --git a/src/components/flight/ControlApprovalsTable.js b/src/components/flight/ControlApprovalsTable.js index bc5cce8f..44603c80 100644 --- a/src/components/flight/ControlApprovalsTable.js +++ b/src/components/flight/ControlApprovalsTable.js @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from 'react'; +import React, { useEffect, useState, useRef } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { Button, Card } from '@component/ui'; import { openModal } from '@src/redux/features/comn/message/messageSlice'; @@ -13,7 +13,7 @@ import { updateLaancAprvReview } from '@src/redux/features/laanc/laancThunk'; import { ERROR_MESSAGE, ERROR_TITLE } from '@src/configs/msgConst'; -import { CgKey } from 'react-icons/cg'; +import ScrollContainer from 'react-indiana-drag-scroll'; export default function ControlApprovalsTable(props) { const dispatch = useDispatch(); @@ -31,6 +31,8 @@ export default function ControlApprovalsTable(props) { U: 0 }); + const scrollContainerRef = useRef(null); + // 확장된 행 키 const [expandedRowKeys, setExpandedRowKeys] = useState([]); @@ -1277,82 +1279,91 @@ export default function ControlApprovalsTable(props) {