perf: code

This commit is contained in:
archer
2023-06-15 17:32:12 +08:00
parent bf1592d2c6
commit 6f9e929298
8 changed files with 53 additions and 17 deletions

View File

@@ -58,7 +58,7 @@ const PayModal = ({ onClose }: { onClose: () => void }) => {
},
{
enabled: !!payId,
refetchInterval: 2000,
refetchInterval: 3000,
onSuccess(res) {
if (!res) return;
toast({