Skip to content

Commit 6716f33

Browse files
committed
bug fix to remove props
1 parent c0dd744 commit 6716f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExcelPlugin/components/ExcelFile.js

Lines changed: 1 addition & 1 deletion
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)