From c6931463176c708b3a894104b81cf6974fbb41cb Mon Sep 17 00:00:00 2001 From: Hemant Date: Tue, 24 Oct 2023 11:22:06 +0530 Subject: [PATCH] Fixed create project button keyboard accesibility --- components/Dashboard/ProjectSwitch.tsx | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/components/Dashboard/ProjectSwitch.tsx b/components/Dashboard/ProjectSwitch.tsx index 8ecf08d6..4c4463d1 100644 --- a/components/Dashboard/ProjectSwitch.tsx +++ b/components/Dashboard/ProjectSwitch.tsx @@ -18,8 +18,8 @@ import { PopoverTrigger, } from '@/components/ui/popover' import { useSelectedProject, useUserProjects } from '@/hooks/query/project' -import { useProjectModal } from '@/store/useProjectModal' import { cn } from '@/lib/utils' +import { useProjectModal } from '@/store/useProjectModal' const ProjectSwitch: React.FC = () => { const { projects } = useUserProjects() @@ -79,18 +79,16 @@ const ProjectSwitch: React.FC = () => { - - - - - +
+ +
)