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: hydration error from Badge (div) inside p tag in sync settings

Louis Beaumont4d9568e49afd
diff --git a/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx b/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx
index 6f7ee52bc..d5d17824f 100644
--- a/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx
@@ -586,14 +586,14 @@ function ActiveSyncSettings({
<div className="flex items-center gap-3">
<Laptop className="h-4 w-4 text-muted-foreground" />
<div>
- <p className="text-sm font-medium">
+ <div className="text-sm font-medium flex items-center">
{device.deviceName || device.deviceId}
{device.isCurrent && (
<Badge variant="outline" className="ml-2 text-xs">
This device
</Badge>
)}
- </p>
+ </div>
<p className="text-xs text-muted-foreground">
{device.deviceOs}
{device.lastSyncAt &&