Skip to content

Commit

Permalink
fix(invitations): remove wrong url (#6005)
Browse files Browse the repository at this point in the history
  • Loading branch information
paabloLC authored Dec 3, 2024
1 parent 52723ed commit 58723ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/components/invitations/invitation-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className="flex flex-col gap-x-4 gap-y-8">
Expand Down
2 changes: 1 addition & 1 deletion ui/components/invitations/table/data-table-row-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function DataTableRowActions<InvitationProps>({
>
<DropdownSection title="Actions">
<DropdownItem
href={`http://localhost:3000/invitations/check-details?id=${invitationId}`}
href={`/invitations/check-details?id=${invitationId}`}
key="check-details"
description="View invitation details"
textValue="Check Details"
Expand Down

0 comments on commit 58723ae

Please # to comment.