From c60b152a7cb547b93b22b7c6f0f00a2ed306e06a Mon Sep 17 00:00:00 2001 From: Saheb Giri <47132373+iamsahebgiri@users.noreply.github.com> Date: Wed, 29 Mar 2023 11:53:09 +0530 Subject: [PATCH] fix: add crisp chat with us option in cmdk (#570) --- apps/app/components/command-palette/command-pallette.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/app/components/command-palette/command-pallette.tsx b/apps/app/components/command-palette/command-pallette.tsx index 1c914a048..92a419d22 100644 --- a/apps/app/components/command-palette/command-pallette.tsx +++ b/apps/app/components/command-palette/command-pallette.tsx @@ -6,9 +6,9 @@ import useSWR, { mutate } from "swr"; import { ArrowRightIcon, ChartBarIcon, + ChatBubbleOvalLeftEllipsisIcon, ClipboardIcon, FolderPlusIcon, - InboxIcon, MagnifyingGlassIcon, Squares2X2Icon, TrashIcon, @@ -756,14 +756,14 @@ export const CommandPalette: React.FC = () => { { setIsPaletteOpen(false); - window.open("mailto:hello@plane.so", "_blank"); + (window as any).$crisp.push(["do", "chat:open"]); }} className="focus:bg-slate-200 focus:outline-none" tabIndex={0} >
- - Email us + + Chat with us