From bb7fa9a2e604f82c1d4596eec8bee1035d0d010b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 6 Nov 2025 12:02:48 +0200 Subject: [PATCH] fix(react/type_widgets): unable to switch to notes of same note type --- apps/client/src/widgets/NoteDetail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/NoteDetail.tsx b/apps/client/src/widgets/NoteDetail.tsx index 1084011ed..1d721c452 100644 --- a/apps/client/src/widgets/NoteDetail.tsx +++ b/apps/client/src/widgets/NoteDetail.tsx @@ -220,7 +220,7 @@ function NoteDetailWrapper({ Element, type, isVisible, isFullHeight, props }: { } else { // Do nothing, keep the old props. } - }, [ isVisible ]); + }, [ props, isVisible ]); const typeMapping = TYPE_MAPPINGS[type]; return (