From f27eb76c7b3e50ef38f908af88656d9c829a8771 Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Tue, 3 Dec 2024 21:08:31 +0100 Subject: [PATCH] fix(invitations): remove wrong url (#6005) (cherry picked from commit 58723ae52eaa52673ef2d5bed93a23e7541899d2) --- ui/components/invitations/invitation-details.tsx | 2 +- ui/components/invitations/table/data-table-row-actions.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/components/invitations/invitation-details.tsx b/ui/components/invitations/invitation-details.tsx index f335ad6487e..7bdc910db70 100644 --- a/ui/components/invitations/invitation-details.tsx +++ b/ui/components/invitations/invitation-details.tsx @@ -26,7 +26,7 @@ interface InvitationDetailsProps { } export const InvitationDetails = ({ attributes }: InvitationDetailsProps) => { - const baseURL = process.env.SITE_URL || "http://localhost:3000"; + const baseURL = process.env.SITE_URL; const invitationLink = `${baseURL}/sign-up?invitation_token=${attributes.token}`; return (
diff --git a/ui/components/invitations/table/data-table-row-actions.tsx b/ui/components/invitations/table/data-table-row-actions.tsx index 6f60d2e0b72..6878fae08e7 100644 --- a/ui/components/invitations/table/data-table-row-actions.tsx +++ b/ui/components/invitations/table/data-table-row-actions.tsx @@ -76,7 +76,7 @@ export function DataTableRowActions({ >