Skip to content

Commit 7859434

Browse files
Merge pull request #35 from toutapp/bug_fix
bug fix to remove props
2 parents c0dd744 + 6716f33 commit 7859434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExcelPlugin/components/ExcelFile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class ExcelFile extends React.Component {
116116
render() {
117117
const { hideElement, element } = this.props;
118118

119-
if (props.hideElement) {
119+
if (hideElement) {
120120
return null;
121121
} else {
122122
return (<span onClick={this.handleDownload}>{element}</span>);

0 commit comments

Comments
 (0)