diff --git a/apps/chrome-extension/src/components/PromptsList/index.tsx b/apps/chrome-extension/src/components/PromptsList/index.tsx index 599ab68..5643aa6 100644 --- a/apps/chrome-extension/src/components/PromptsList/index.tsx +++ b/apps/chrome-extension/src/components/PromptsList/index.tsx @@ -2,7 +2,7 @@ import './styles.css'; import { StarOutlined, StarTwoTone } from '@ant-design/icons'; import { IPrompt } from '@rpidanny/llm-prompt-templates'; -import { List, Tag, Typography } from 'antd'; +import { List, Tag, Tooltip, Typography } from 'antd'; import React, { MouseEvent } from 'react'; const { Text } = Typography; @@ -69,20 +69,23 @@ const PromptsList: React.FC = ({ onClick={() => handleItemClick(idx)} className={'template-list-item'} > - {favoritePromptsSet.has(item.name) ? ( - handleFavoriteClick(item, e)} - /> - ) : ( - handleFavoriteClick(item, e)} - /> - )} + + {favoritePromptsSet.has(item.name) ? ( + handleFavoriteClick(item, e)} + /> + ) : ( + handleFavoriteClick(item, e)} + /> + )} + + )}