From 02d0e228f0662fea6ae1ba791413b6da5a1e8b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= Date: Thu, 22 Feb 2024 13:27:06 +0100 Subject: [PATCH] refactor --- packages/uniforms/__tests__/connectField.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uniforms/__tests__/connectField.tsx b/packages/uniforms/__tests__/connectField.tsx index 4ddcd7667..6865b8fff 100644 --- a/packages/uniforms/__tests__/connectField.tsx +++ b/packages/uniforms/__tests__/connectField.tsx @@ -51,11 +51,11 @@ describe('connectField', () => { ) => { return props.children ? ( <> - {props.label ? ( + {props.label && ( - ) : null} + )}