From 340913f15fce59f89c1e7354bcfb94cf85b09c4c Mon Sep 17 00:00:00 2001 From: Gigi Date: Sat, 18 Oct 2025 22:20:27 +0200 Subject: [PATCH] fix: force React to remount tab content when switching tabs - Add key prop based on activeTab to wrapper div - Forces complete unmount/remount of content when switching tabs - Prevents DOM element reuse that was causing blog posts to bleed into highlights tab --- src/components/Explore.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Explore.tsx b/src/components/Explore.tsx index e3779c8d..1c234f63 100644 --- a/src/components/Explore.tsx +++ b/src/components/Explore.tsx @@ -487,7 +487,9 @@ const Explore: React.FC = ({ relayPool, eventStore, settings, acti - {renderTabContent()} +
+ {renderTabContent()} +
) }