feat: enhance document deletion feedback in UI

This commit is contained in:
Anish Sarkar 2026-03-19 20:34:31 +05:30
parent e9485ab2df
commit 80f7d5f34a
2 changed files with 3 additions and 6 deletions

View file

@ -823,10 +823,7 @@ export function LayoutDataProvider({ searchSpaceId, children }: LayoutDataProvid
className="bg-destructive text-destructive-foreground hover:bg-destructive/90 gap-2"
>
{isDeletingChat ? (
<>
<Spinner size="sm" />
{t("deleting")}
</>
<Spinner size="sm" />
) : (
tCommon("delete")
)}