From e7fb3447a23b587177afda2e56ebd87457710358 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Sun, 30 Oct 2016 12:44:47 +0800 Subject: [PATCH] style: fix lint --- components/badge/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/badge/index.tsx b/components/badge/index.tsx index d87a915f7c..fe8e9901a4 100644 --- a/components/badge/index.tsx +++ b/components/badge/index.tsx @@ -44,7 +44,7 @@ export default class Badge extends React.Component { ['count', 'prefixCls', 'overflowCount', 'className', 'style', 'children', 'dot', 'status', 'text'] ); const isDot = dot || status; - + const realCount = count; count = count > overflowCount ? `${overflowCount}+` : count; // dot mode don't need count @@ -84,7 +84,7 @@ export default class Badge extends React.Component { } return ( - + {children}