Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(invitations): remove wrong url #6012

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading