From b5910e6f72d5348cc498cfb2926f01780fcdec37 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 1 Jul 2025 12:25:27 +0300 Subject: [PATCH] fix duplicate prop --- src/components/Dialog/shared.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Dialog/shared.tsx b/src/components/Dialog/shared.tsx index b57d9c1fec..7706dfdb03 100644 --- a/src/components/Dialog/shared.tsx +++ b/src/components/Dialog/shared.tsx @@ -43,8 +43,7 @@ export function Header({ {borderTopLeftRadius: a.rounded_md.borderRadius}, {borderTopRightRadius: a.rounded_md.borderRadius}, style, - ]} - onLayout={onLayout}> + ]}> {renderLeft && ( {renderLeft()} )}