diff --git a/frontend/src/components/RetryIcon.tsx b/frontend/src/components/RetryIcon.tsx index 19d76aec..8cecbd2f 100644 --- a/frontend/src/components/RetryIcon.tsx +++ b/frontend/src/components/RetryIcon.tsx @@ -7,7 +7,8 @@ const RetryIcon = (props: SVGProps) => ( width={props.width ? props.width : 16} height={props.height ? props.height : 16} fill={props.fill} - stroke={props.stroke} + stroke={props.stroke ? props.stroke : 'none'} + strokeWidth={props.strokeWidth ? props.strokeWidth : 10} viewBox="0 0 383.748 383.748" {...props} > diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index de88b6d9..16aa4cae 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -144,7 +144,7 @@ export default function Conversation() { } else if (query.error) { const retryBtn = ( ); responseView = ( diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index 543699ed..dd6874f6 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -8,7 +8,6 @@ import remarkMath from 'remark-math'; import rehypeKatex from 'rehype-katex'; import 'katex/dist/katex.min.css'; -import Alert from '../assets/alert.svg'; import DocsGPT3 from '../assets/cute_docsgpt3.svg'; import Dislike from '../assets/dislike.svg?react'; import Document from '../assets/document.svg'; @@ -233,14 +232,6 @@ const ConversationBubble = forwardRef< : 'flex-col rounded-3xl' }`} > - {type === 'ERROR' && ( - <> - alert -
- {retryBtn} -
- - )}
+
+
{retryBtn}
+
{handleFeedback && ( <>