@@ -13,7 +13,7 @@ import {
1313} from "../components/ui/card" ;
1414import { Separator } from "../components/ui/separator" ;
1515import { Avatar , AvatarFallback , AvatarImage } from "../components/ui/avatar" ;
16- import { Dialog , DialogContent , DialogTrigger } from "../components/ui/dialog" ;
16+ import { Dialog , DialogContent , DialogTrigger , DialogTitle } from "../components/ui/dialog" ;
1717import { CircleAlert } from "lucide-react" ;
1818import { Button } from "../components/ui/button" ;
1919import Link from "next/link" ;
@@ -62,22 +62,23 @@ const contributors = [
6262export default function Contributors ( ) {
6363 return (
6464 < Dialog >
65- < DialogTrigger asChild >
66- < TooltipProvider >
67- < Tooltip >
68- < TooltipTrigger asChild >
65+ < TooltipProvider >
66+ < Tooltip >
67+ < TooltipTrigger asChild >
68+ < DialogTrigger asChild >
6969 < Button variant = "ghost" size = "icon" >
7070 < CircleAlert className = "h-5 w-5" />
7171 < span className = "sr-only" > View Contributors</ span >
7272 </ Button >
73- </ TooltipTrigger >
74- < TooltipContent >
75- < p > Contributors </ p >
76- </ TooltipContent >
77- </ Tooltip >
78- </ TooltipProvider >
79- </ DialogTrigger >
73+ </ DialogTrigger >
74+ </ TooltipTrigger >
75+ < TooltipContent >
76+ < p > Contributors </ p >
77+ </ TooltipContent >
78+ </ Tooltip >
79+ </ TooltipProvider >
8080 < DialogContent className = "sm:max-w-[425px] md:max-w-[570px] lg:max-w-[650px]" >
81+ < DialogTitle className = "sr-only" > Contributors</ DialogTitle >
8182 < Card className = "border-none" >
8283 < CardHeader className = "p-0 mb-2" >
8384 < CardTitle className = "font-bold items-center gap-2 flex mb-1" >
0 commit comments