From 46fbcb44da9e1c2f72170a4cd207a3cfa7d70753 Mon Sep 17 00:00:00 2001 From: GODI13 Date: Tue, 10 Dec 2019 22:32:49 +0800 Subject: [PATCH] fix(@uform/antd): Warning Received `true` for a non-boolean attribute `inline` (#494) --- packages/antd/src/compat/Form.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/antd/src/compat/Form.tsx b/packages/antd/src/compat/Form.tsx index 461bc0b91a5..80081ffaabc 100644 --- a/packages/antd/src/compat/Form.tsx +++ b/packages/antd/src/compat/Form.tsx @@ -11,14 +11,15 @@ import { export const CompatAntdForm: React.FC = props => { + const { inline, ...rest } = props; return (