diff --git a/components/Promptbar/Prompt.tsx b/components/Promptbar/Prompt.tsx index 913d2ec..2bec35a 100644 --- a/components/Promptbar/Prompt.tsx +++ b/components/Promptbar/Prompt.tsx @@ -39,9 +39,9 @@ export const PromptComponent: FC = ({ }, [isRenaming, isDeleting]); return ( - <> +
{(isDeleting || isRenaming) && ( -
- + - { e.stopPropagation(); setIsDeleting(false); }} - /> + > + +
)} {!isDeleting && !isRenaming && ( -
- +
)} - {showModal && ( = ({ onUpdatePrompt={onUpdatePrompt} /> )} - +
); };