diff --git a/components/Promptbar/Prompt.tsx b/components/Promptbar/Prompt.tsx index 2bec35a..d811bbc 100644 --- a/components/Promptbar/Prompt.tsx +++ b/components/Promptbar/Prompt.tsx @@ -56,53 +56,53 @@ export const PromptComponent: FC = ({ > -
+
{prompt.name}
- {(isDeleting || isRenaming) && ( -
- + setIsDeleting(false); + }} + > + + - -
- )} + +
+ )} - {!isDeleting && !isRenaming && ( -
- -
- )} + {!isDeleting && !isRenaming && ( +
+ +
+ )} {showModal && (