Skip to content

Commit

Permalink
fix: address issue with relative link paths
Browse files Browse the repository at this point in the history
  • Loading branch information
rimorin authored Mar 3, 2024
1 parent eaa1ed3 commit 44152ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/dashboard/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -612,10 +612,11 @@ function Admin({ user }: adminProps) {
hours,
publisherName
);
const absoluteUrl = new URL(url, window.location.href);
await navigator.share({
title: title,
text: body,
url: url
url: absoluteUrl.toString()
});
setAccordionKeys((existingKeys) =>
existingKeys.filter((key) => key !== postalcode)
Expand Down

0 comments on commit 44152ac

Please sign in to comment.