diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/AddRepositoryModals/components/NewProjectModal/NewProjectModal.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/AddRepositoryModals/components/NewProjectModal/NewProjectModal.tsx index 1780dea79c7..7d55ed00fcf 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/AddRepositoryModals/components/NewProjectModal/NewProjectModal.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/AddRepositoryModals/components/NewProjectModal/NewProjectModal.tsx @@ -132,7 +132,7 @@ export function NewProjectModal({ }; return ( - + Clone a repository diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarHeader/DashboardSidebarHeader.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarHeader/DashboardSidebarHeader.tsx index c15a1df6580..c15468443c4 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarHeader/DashboardSidebarHeader.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarHeader/DashboardSidebarHeader.tsx @@ -61,6 +61,7 @@ export function DashboardSidebarHeader({ toast.success("Project ready — open it from the sidebar."); } }; + const shortcutText = useHotkeyDisplay("NEW_WORKSPACE").text; const { data: platform } = electronTrpc.window.getPlatform.useQuery(); // Default to Mac while loading so we don't briefly cover the traffic lights. @@ -192,7 +193,10 @@ export function DashboardSidebarHeader({ Add repository - + event.preventDefault()} + > openNewProject()}> Create new project @@ -300,7 +304,10 @@ export function DashboardSidebarHeader({ Add repository - + event.preventDefault()} + > openNewProject()}> Create new project