File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import { useState } from "react";
44
55import { Check , Clipboard } from "lucide-react" ;
66import ShikiHighlighter from "react-shiki" ;
7- import { toast } from "sonner" ;
87
98import { cn } from "@/lib/utils" ;
109
10+ import { toast } from "@/components/ui/8bit/toast" ;
1111import { Button } from "@/components/ui/button" ;
1212import { ScrollArea } from "@/components/ui/scroll-area" ;
1313
@@ -30,7 +30,7 @@ export default function CodeSnippet({
3030 setCopied ( false ) ;
3131 } , 3000 ) ;
3232
33- toast . success ( "Copied to clipboard" ) ;
33+ toast ( "Copied to clipboard" ) ;
3434 } ;
3535
3636 return (
Original file line number Diff line number Diff line change 33 Dialog ,
44 DialogContent ,
55 DialogDescription ,
6- DialogFooter ,
76 DialogHeader ,
87 DialogTitle ,
98 DialogTrigger ,
@@ -42,10 +41,6 @@ export default function CopyProfileCardDialog({ code }: ProfileCardProps) {
4241 </ p >
4342
4443 < CodeSnippet > { code } </ CodeSnippet >
45-
46- < DialogFooter >
47- < Button size = "sm" > Copy</ Button >
48- </ DialogFooter >
4944 </ DialogContent >
5045 </ Dialog >
5146 ) ;
Original file line number Diff line number Diff line change @@ -213,6 +213,10 @@ export const navItems = {
213213 label : "Themes" ,
214214 href : "/themes" ,
215215 } ,
216+ {
217+ label : "Profile Creator" ,
218+ href : "/profile-creator" ,
219+ } ,
216220 ] ,
217221 navMain : [
218222 {
You can’t perform that action at this time.
0 commit comments