Fix update matches when payment method changes

This commit is contained in:
Reckless_Satoshi 2023-04-26 05:12:49 -07:00
parent edb8c8b3ff
commit 09fb3cb3a1
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -38,7 +38,15 @@ const MakerPage = (): JSX.Element => {
threshold: 0.7,
},
});
}, [book.orders, fav, maker.premium, maker.amount, maker.minAmount, maker.maxAmount]);
}, [
book.orders,
fav,
maker.premium,
maker.amount,
maker.minAmount,
maker.maxAmount,
maker.paymentMethods,
]);
const onViewOrder = function () {
setOrder(undefined);