From af4e5bbbed74646fe5e45eb4e5ed32d601dcd149 Mon Sep 17 00:00:00 2001 From: ztplz Date: Wed, 14 Nov 2018 15:25:42 +0800 Subject: [PATCH] format --- components/tooltip/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tooltip/index.tsx b/components/tooltip/index.tsx index 3083204085..3fc33398ea 100644 --- a/components/tooltip/index.tsx +++ b/components/tooltip/index.tsx @@ -138,7 +138,7 @@ class Tooltip extends React.Component { display: 'inline-block', // default inline-block is important ...picked, cursor: 'not-allowed', - width: element.props.block? '100%' : null, + width: element.props.block ? '100%' : null, }; const buttonStyle = { ...omitted,