We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6672809 commit 7b4e318Copy full SHA for 7b4e318
templates/vite/src/components/about-dialog.tsx
@@ -12,7 +12,7 @@ import {
12
} from "lucide-react"
13
14
import { Icons } from "./icons"
15
-import { Button } from "./ui/button"
+import { Button, buttonVariants } from "./ui/button"
16
import {
17
DialogContent,
18
DialogDescription,
@@ -89,10 +89,11 @@ export function AboutDialog() {
89
>
90
<UpdateIcon /> Check for Updates
91
</Button>
92
- <DialogPrimitive.Close>
93
- <Button type="submit" variant="ghost" className="h-7">
94
- Close
95
- </Button>
+ <DialogPrimitive.Close
+ type="submit"
+ className={buttonVariants({ variant: "ghost", className: "h-7" })}
+ >
96
+ Close
97
</DialogPrimitive.Close>
98
</DialogFooter>
99
</DialogContent>
0 commit comments