diff --git a/apps/expo/src/app/(app)/payment-confirm.tsx b/apps/expo/src/app/(app)/payment-confirm.tsx index 8b2e36d..8504edf 100644 --- a/apps/expo/src/app/(app)/payment-confirm.tsx +++ b/apps/expo/src/app/(app)/payment-confirm.tsx @@ -34,6 +34,7 @@ export default function PaymentConfirmScreen() { const { image, onSelectImage, onUpload, uploadProggres } = useSelectImage(); + const utils = api.useUtils(); const { mutate, isPending } = api.order.confirmPayment.useMutation(); const methods = useForm>({ resolver: zodResolver(schema), @@ -59,6 +60,7 @@ export default function PaymentConfirmScreen() { }, { onSettled: () => { + void utils.order.showOrder.invalidate(); router.back(); }, },