mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-04-26 21:19:57 -04:00
🐛 fix(config): Checkout Order
This commit is contained in:
parent
a9a535b166
commit
a31e763dda
@ -42,7 +42,7 @@ export default function Page() {
|
||||
});
|
||||
|
||||
const { data: payment } = useQuery({
|
||||
enabled: !!order_no,
|
||||
enabled: !!order_no && !!data?.status && data?.status !== 3,
|
||||
queryKey: ['checkoutOrder', order_no],
|
||||
queryFn: async () => {
|
||||
const { data } = await checkoutOrder({ orderNo: order_no! });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user