import { useLocale } from "@calcom/lib/hooks/useLocale"; import { SheetClose, Button } from "@calcom/ui"; import { Pencil } from "@calcom/ui/components/icon"; import { useEditMode } from "./store"; function EditModeFooter() { const { t } = useLocale(); const setEditMode = useEditMode((state) => state.setEditMode); const isLoading = useEditMode((state) => state.mutationLoading); return ( <> ); } function MoreInfoFooter() { const { t } = useLocale(); const setEditMode = useEditMode((state) => state.setEditMode); return ( <> ); } export function SheetFooterControls() { const editMode = useEditMode((state) => state.editMode); return <>{editMode ? : }; }