From 26239f6a964753057fb83ab6d23dd9d9f1909710 Mon Sep 17 00:00:00 2001 From: chev Date: Sun, 21 Jun 2026 15:18:56 -0500 Subject: [PATCH] fix: stabilize discovery feed empty profiles default --- src/features/Discovery/DiscoveryPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/features/Discovery/DiscoveryPage.tsx b/src/features/Discovery/DiscoveryPage.tsx index 9be4cc8..85114a7 100644 --- a/src/features/Discovery/DiscoveryPage.tsx +++ b/src/features/Discovery/DiscoveryPage.tsx @@ -46,6 +46,7 @@ import { TagCloud } from './TagCloud'; const SEARCH_TRANSITION_MS = 320; const PER_PAGE = 9; +const EMPTY_PROFILES: DiscoveryProfile[] = []; type DiscoveryPageProps = { authError?: string; @@ -84,7 +85,7 @@ export const DiscoveryPage = ({ isLoggedIn, locale, needsOnboarding = false, - profiles = [], + profiles = EMPTY_PROFILES, savedProfileIds, currentProfileId, bumpReadyAt: initialBumpReadyAt,