From be8767ba6cbf4c6aa8522012ebb18c46df1ab9b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adriel=20Fabr=C3=ADcio?= Date: Thu, 10 Jul 2025 13:38:02 -0300 Subject: [PATCH] feat: set areAllCollapsed as true in done section (fixes #403) --- src/components/common/Diff/DiffSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/Diff/DiffSection.tsx b/src/components/common/Diff/DiffSection.tsx index 663836e6..380ced31 100644 --- a/src/components/common/Diff/DiffSection.tsx +++ b/src/components/common/Diff/DiffSection.tsx @@ -50,7 +50,7 @@ const DiffSection = ({ doneTitleRef, }: DiffSectionProps) => { const [areAllCollapsed, setAllCollapsed] = useState( - undefined + isDoneSection ? true : undefined ) const getIsUpgradingFrom61To62 = useCallback(() => {