Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix: button in button err (#136)

Arnold Chanddaaea1cbfca8
diff --git a/src/components/challenge/description-panel.tsx b/src/components/challenge/description-panel.tsx
index 0a638f50..7578d45b 100644
--- a/src/components/challenge/description-panel.tsx
+++ b/src/components/challenge/description-panel.tsx
@@ -298,9 +298,7 @@ export function DescriptionPanel({ challenge }: Props) {
</TooltipProvider>
<Dialog>
<DialogTrigger>
- <Button variant="ghost" className="p-1">
- <Share size={20} className="stroke-gray-500 hover:stroke-gray-400" />
- </Button>
+ <Share size={20} className="stroke-gray-500 hover:stroke-gray-400" />
</DialogTrigger>
<DialogContent className="w-[200px]">
<DialogHeader>