"use client" import { trpc } from "@/lib/trpc/client" import Button from "@/components/TempDesignSystem/Button" export default function Payment() { const initiateBooking = trpc.booking.booking.create.useMutation({ onSuccess: (result) => { // TODO: Handle success, poll for payment link and redirect the user to the payment console.log("Res", result) }, onError: () => { // TODO: Handle error console.log("Error") }, }) return ( ) }