Skip to content
Merged
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
6 changes: 3 additions & 3 deletions src/app/wishpool/(viewer)/[id]/invite/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ const getOrigin = () => {
};

const InvitePage = () => {
const content = 'invite' as ShareSectionType;
const content = 'share' as ShareSectionType;

const chosenUrl = useGetChosenUrl();
const origin = getOrigin();
const inviteUrl = `${origin}${PATH.PICK_INVITE}?chosenUrl=${chosenUrl}`;
const shareUrl = `${origin}${PATH.PICK_INVITE}?chosenUrl=${chosenUrl}`;

const wishpoolId = useGetWishpoolId();
const { data: wishpool } = useGetWishpoolDetail(wishpoolId);
Expand Down Expand Up @@ -50,7 +50,7 @@ const InvitePage = () => {
</div>

<WishpoolShareSection
linkUrl={inviteUrl}
linkUrl={shareUrl}
linkContent={content}
name={celebrant}
/>
Expand Down
Loading