Skip to content

Commit

Permalink
add /public to the dashboard copy (#2300)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot authored Oct 5, 2023
1 parent 2ae5533 commit 552ba91
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export const PublicUrls = () => {
const baseUrl = getBaseUrl();
const calculatedWidth = baseUrl ? `${baseUrl.length * 9}px` : '200px';
const engagementUrl = !savedSlug ? 'Link will appear when the engagement is saved' : `${baseUrl}/${savedSlug}`;
const dashboardUrl = !savedSlug ? 'Link will appear when the engagement is saved' : `${engagementUrl}/dashboard`;
const dashboardUrl = !savedSlug
? 'Link will appear when the engagement is saved'
: `${engagementUrl}/dashboard/public`;

useEffect(() => {
setSlug(savedSlug);
Expand Down

0 comments on commit 552ba91

Please sign in to comment.