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 (