From 25ffd11419f1d7c9d49144038a130d92a5ea6d3a Mon Sep 17 00:00:00 2001 From: Herman Wikner Date: Fri, 15 Dec 2023 11:28:35 +0100 Subject: [PATCH] fix(comments): remove redundant provider --- .../document-layout/CommentsDocumentLayout.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/sanity/src/desk/comments/plugin/document-layout/CommentsDocumentLayout.tsx b/packages/sanity/src/desk/comments/plugin/document-layout/CommentsDocumentLayout.tsx index 5a3f3e16323..80b62405698 100644 --- a/packages/sanity/src/desk/comments/plugin/document-layout/CommentsDocumentLayout.tsx +++ b/packages/sanity/src/desk/comments/plugin/document-layout/CommentsDocumentLayout.tsx @@ -36,15 +36,13 @@ function CommentsDocumentLayoutInner(props: DocumentLayoutProps) { } return ( - - - {props.renderDefault(props)} - - + + {props.renderDefault(props)} + ) }