fix spinner to match theme (dark/light) in conversation (#2044)

This commit is contained in:
JeevaRamanathan
2025-10-08 17:46:44 +05:30
committed by GitHub
parent 160ad2dc79
commit 434d8e2070

View File

@@ -399,7 +399,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
{conversations?.loading && !isDeletingConversation && (
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform">
<img
src={isDarkTheme ? SpinnerDark : Spinner}
src={isDarkTheme ? Spinner : SpinnerDark}
className="animate-spin cursor-pointer bg-transparent"
alt="Loading conversations"
/>