Seed: music template (13 files)
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ export default function TourPage() {
|
|||||||
try {
|
try {
|
||||||
const res = await buyTicket({ plan: show.venue, city: show.city });
|
const res = await buyTicket({ plan: show.venue, city: show.city });
|
||||||
if (res?.url && res.url !== "#") { window.location.href = res.url; return; }
|
if (res?.url && res.url !== "#") { window.location.href = res.url; return; }
|
||||||
toast.success(`Tickets reserved for \${show.venue}`);
|
toast.success(`Tickets reserved for ${show.venue}`);
|
||||||
} catch {
|
} catch {
|
||||||
toast.error("Could not start checkout. Please try again.");
|
toast.error("Could not start checkout. Please try again.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user