From bbd1c071c4f3258cc2612f20a7ba306ac730060a Mon Sep 17 00:00:00 2001 From: Albin Groen Date: Mon, 5 Jan 2026 18:24:49 +0100 Subject: fix(app): fix flicker and navigation when collapsing/expanding projects (#6658) --- packages/app/src/pages/session.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'packages/app/src/pages') diff --git a/packages/app/src/pages/session.tsx b/packages/app/src/pages/session.tsx index 1b0449752..113f4c432 100644 --- a/packages/app/src/pages/session.tsx +++ b/packages/app/src/pages/session.tsx @@ -48,12 +48,7 @@ import { NewSessionView, } from "@/components/session" import { usePlatform } from "@/context/platform" - -function same(a: readonly T[], b: readonly T[]) { - if (a === b) return true - if (a.length !== b.length) return false - return a.every((x, i) => x === b[i]) -} +import { same } from "@/utils/same" type DiffStyle = "unified" | "split" -- cgit v1.2.3