From 32c06414c530023e9f5d4e58d907dac9d649fbf2 Mon Sep 17 00:00:00 2001
From: utin-francis-peter
Date: Sat, 8 Jun 2024 03:29:18 +0100
Subject: [PATCH] style: added theme adaptable RetryIcon component to Retry btn
---
frontend/src/components/RetryIcon.tsx | 17 +++++++++++++++++
frontend/src/conversation/Conversation.tsx | 12 +++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 frontend/src/components/RetryIcon.tsx
diff --git a/frontend/src/components/RetryIcon.tsx b/frontend/src/components/RetryIcon.tsx
new file mode 100644
index 00000000..27ed6028
--- /dev/null
+++ b/frontend/src/components/RetryIcon.tsx
@@ -0,0 +1,17 @@
+import * as React from 'react';
+import { SVGProps } from 'react';
+const RetryIcon = (props: SVGProps) => (
+
+);
+export default RetryIcon;
diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx
index 03eb240f..2bb9d101 100644
--- a/frontend/src/conversation/Conversation.tsx
+++ b/frontend/src/conversation/Conversation.tsx
@@ -19,6 +19,7 @@ import { FEEDBACK, Query } from './conversationModels';
import { sendFeedback } from './conversationApi';
import { useTranslation } from 'react-i18next';
import ArrowDown from './../assets/arrow-down.svg';
+import RetryIcon from '../components/RetryIcon';
export default function Conversation() {
const queries = useSelector(selectQueries);
const status = useSelector(selectStatus);
@@ -229,12 +230,21 @@ export default function Conversation() {
There was an error during generation