history transaction : bug export file excel

This commit is contained in:
wayanrivan
2025-07-08 10:13:44 +07:00
parent acc21e1330
commit 76d1cd3f89

View File

@ -39,11 +39,11 @@ const ListToolbar = () => {
}, []); }, []);
// ✅ Reset tanggal jika typeSearchValue dipilih // ✅ Reset tanggal jika typeSearchValue dipilih
useEffect(() => { // useEffect(() => {
if (typeSearchValue) { // if (typeSearchValue) {
settrxDate({ from: '', to: '' }); // settrxDate({ from: '', to: '' });
} // }
}, [typeSearchValue]); // }, [typeSearchValue]);
const handleFilterData = useCallback(() => { const handleFilterData = useCallback(() => {
// if (!trxDate.from || !trxDate.to) { // if (!trxDate.from || !trxDate.to) {