| | |
| | | const [modalVisible, setModalVisible] = useState(false); |
| | | const [currentRow, setCurrentRow] = useState(); |
| | | const [searchParam, setSearchParam] = useState({}); |
| | | |
| | | const [boxHeight, setBoxHeight] = useState(window.innerHeight - 390); |
| | | |
| | | const [boxHeight, setBoxHeight] = useState(); |
| | | |
| | | useEffect(() => { |
| | | const handleResize = () => setBoxHeight(window.innerHeight - 390); |
| | | const handleResize = () => setBoxHeight(window.innerHeight - 368); |
| | | window.addEventListener('resize', handleResize); |
| | | handleResize(); |
| | | return () => window.removeEventListener('resize', handleResize); |
| | | }, []); |
| | | }, [boxHeight]); |
| | | |
| | | const columns = [ |
| | | { |