From 6eb8256220dc27188f4b3af5ee68251df363caf5 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Thu, 6 Mar 2025 02:00:05 +0530 Subject: [PATCH] (feat:docs,chatbots) danger delete btn --- frontend/src/assets/sync.svg | 2 +- frontend/src/settings/APIKeys.tsx | 1 + frontend/src/settings/Documents.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/assets/sync.svg b/frontend/src/assets/sync.svg index 003dec43..1c8cb3bd 100644 --- a/frontend/src/assets/sync.svg +++ b/frontend/src/assets/sync.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/frontend/src/settings/APIKeys.tsx b/frontend/src/settings/APIKeys.tsx index 6d76d7e8..99cb832b 100644 --- a/frontend/src/settings/APIKeys.tsx +++ b/frontend/src/settings/APIKeys.tsx @@ -222,6 +222,7 @@ export default function APIKeys() { submitLabel={t('modals.deleteConv.delete')} handleSubmit={() => handleDeleteKey(keyToDelete.id)} handleCancel={() => setKeyToDelete(null)} + variant="danger" /> )} diff --git a/frontend/src/settings/Documents.tsx b/frontend/src/settings/Documents.tsx index 61cf063d..f5fa6dd0 100644 --- a/frontend/src/settings/Documents.tsx +++ b/frontend/src/settings/Documents.tsx @@ -507,6 +507,7 @@ export default function Documents({ setDocumentToDelete(null); }} submitLabel={t('convTile.delete')} + variant="danger" /> )}