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()} )}