From fda4d66552da5e284aaf5c6fd23b7cdac9e411da Mon Sep 17 00:00:00 2001 From: BccSafe Date: Wed, 10 May 2017 12:01:49 +0800 Subject: [PATCH] fix bug --- components/list/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/list/index.tsx b/components/list/index.tsx index 192387ce62..0fd2abafa4 100644 --- a/components/list/index.tsx +++ b/components/list/index.tsx @@ -42,7 +42,7 @@ export default class List extends React.Component { headerDom = {content}; } if (renderFooter) { - let content = typeof renderHeader === 'function' ? renderFooter() : renderFooter; + let content = typeof renderFooter === 'function' ? renderFooter() : renderFooter; if (typeof content === 'string') { content = {content}; }