Skip to content

Commit a7fb844

Browse files
committed
[Dashboard] Fix: Remove learn more button (#6109)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on simplifying the `WalletAddress` component by removing the "Learn more" button and its associated link to the blog, while also cleaning up the imports by removing the unused `ExternalLinkIcon`. ### Detailed summary - Removed the unused import of `ExternalLinkIcon` from `lucide-react`. - Eliminated the "Learn more" button, which included: - The button element with `asChild`, `variant`, `className`, and `size` props. - The inner `<a>` element linking to the blog post. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent bf43196 commit a7fb844

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

apps/dashboard/src/@/components/blocks/wallet-address.tsx

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import { useThirdwebClient } from "@/constants/thirdweb.client";
99
import { resolveSchemeWithErrorHandler } from "@/lib/resolveSchemeWithErrorHandler";
1010
import { useClipboard } from "hooks/useClipboard";
11-
import { Check, Copy, ExternalLinkIcon } from "lucide-react";
11+
import { Check, Copy } from "lucide-react";
1212
import { useMemo } from "react";
1313
import { type ThirdwebClient, isAddress } from "thirdweb";
1414
import { ZERO_ADDRESS } from "thirdweb";
@@ -148,21 +148,6 @@ export function WalletAddress(props: {
148148
);
149149
})
150150
)}
151-
<Button
152-
asChild
153-
variant="upsell"
154-
className="flex flex-row items-center gap-2 text-sm"
155-
size="sm"
156-
>
157-
<a
158-
target="_blank"
159-
href="https://blog.thirdweb.com/changelog/introducing-the-social-sdk?ref=dashboard-social-wallet"
160-
rel="noreferrer"
161-
>
162-
Learn more
163-
<ExternalLinkIcon className="size-4" />
164-
</a>
165-
</Button>
166151
</div>
167152
</HoverCardContent>
168153
</HoverCard>

0 commit comments

Comments
 (0)