From 7b20acaa5abfb8e17ccf3167a21ee9678eda1ac5 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 11 Mar 2024 11:01:29 +0500 Subject: [PATCH] web: freeze unhydrated sessions --- apps/web/src/components/editor/index.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx index 327bae859..49c5e9790 100644 --- a/apps/web/src/components/editor/index.tsx +++ b/apps/web/src/components/editor/index.tsx @@ -93,8 +93,11 @@ export default function TabsView() { <> {sessions.map((session) => ( - - {session.needsHydration ? null : session.type === "locked" ? ( + + {session.type === "locked" ? (