Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: use proper spinner icon for pipe refresh button

Louis Beaumontb709af2f2cf3
diff --git a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
index 6961a9d76..32d5d1a9c 100644
--- a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
@@ -799,7 +799,7 @@ export function PipesSection() {
await fetchPipes();
setRefreshing(false);
}}>
- <RefreshCw className={`h-4 w-4 ${refreshing ? "animate-spin" : ""}`} />
+ {refreshing ? <Loader2 className="h-4 w-4 animate-spin" /> : <RefreshCw className="h-4 w-4" />}
</Button>
<Button variant="outline" size="sm" onClick={openPipesFolder}>
<FolderOpen className="h-4 w-4 mr-1" />