Skip to content

Commit be85c8e

Browse files
committed
removed null initialization var
1 parent 4cb326d commit be85c8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dashboard/Data/Browser/BrowserTable.react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default class BrowserTable extends React.Component {
115115
(rowWidth, { visible, width }) => visible ? rowWidth + width : rowWidth,
116116
this.props.onAddRow ? 210 : 0
117117
);
118-
let editCloneRows = null;
118+
let editCloneRows;
119119
if(this.props.editCloneRows){
120120
editCloneRows = (
121121
<div>
@@ -173,7 +173,7 @@ export default class BrowserTable extends React.Component {
173173
</div>
174174
)
175175
}
176-
let newRow = null;
176+
let newRow;
177177
if (this.props.newObject && this.state.offset <= 0) {
178178
const currentCol = this.props.current && this.props.current.row === -1 ? this.props.current.col : undefined;
179179
newRow = (

0 commit comments

Comments
 (0)