Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

small fix

Kiran Kb9b54f323632
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
index 42cfe193ef..0f362b393f 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
@@ -180,11 +180,11 @@ function WorkspaceLinks() {
</MaxWidthWrapper>
</div>
- {canCreateLinks && (
- <div className="mt-3">
- <LinksContainer CreateLinkButton={CreateLinkButton} />
- </div>
- )}
+ <div className="mt-3">
+ <LinksContainer
+ CreateLinkButton={canCreateLinks ? CreateLinkButton : () => <></>}
+ />
+ </div>
</>
);
}