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: add SettingsModalSection type casts for account/referral

Louis Beaumont275e2856ccd4
diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsx
index 4a495603f..43b246a72 100644
--- a/apps/screenpipe-app-tauri/app/home/page.tsx
+++ b/apps/screenpipe-app-tauri/app/home/page.tsx
@@ -332,8 +332,8 @@ function SettingsPageContent() {
{ id: "memories", label: "Memories", icon: <Sparkles className="h-4 w-4" />, group: "data" },
{ id: "connections", label: "Connections", icon: <Plug className="h-4 w-4" />, group: "data" },
{ id: "team", label: "Team", icon: <Users className="h-4 w-4" />, group: "account" },
- { id: "account", label: "Account", icon: <User className="h-4 w-4" />, group: "account" },
- { id: "referral", label: "Get free month", icon: <Gift className="h-4 w-4" />, group: "account" },
+ { id: "account" as SettingsModalSection, label: "Account", icon: <User className="h-4 w-4" />, group: "account" },
+ { id: "referral" as SettingsModalSection, label: "Get free month", icon: <Gift className="h-4 w-4" />, group: "account" },
].filter((s) => !isSectionHidden(s.id));
const appGroup = settingsModalSections.filter(s => s.group === "app");