history transaction : bug export file excel
This commit is contained in:
@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user