diff --git a/apps/dashboard/src/api/endpoints/teams.ts b/apps/dashboard/src/api/endpoints/teams.ts index cd0ae2d..0bb5179 100644 --- a/apps/dashboard/src/api/endpoints/teams.ts +++ b/apps/dashboard/src/api/endpoints/teams.ts @@ -161,5 +161,7 @@ export async function postCreateCheckoutSession( priceLookupKey, }); const body = (await res).data; - window.location.href = body; + if (body != "") { + window.location.href = body; + } }