Skip to content

Commit a7c904c

Browse files
committed
remove useless code
1 parent 5efc355 commit a7c904c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/js/custom/insert-modal/custom-insert-modal-field.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,8 @@ export default class CustomInsertModalFieldTable extends React.Component {
7878
}
7979

8080
render() {
81-
const options = {
82-
insertModalField: this.createCustomModalField
83-
};
8481
return (
85-
<BootstrapTable ref='table' data={ products } options={ options } insertRow>
82+
<BootstrapTable ref='table' data={ products } insertRow>
8683
<TableHeaderColumn dataField='id' isKey={ true } customInsertEditor={ { getElement: this.customKeyField } }>Product ID</TableHeaderColumn>
8784
<TableHeaderColumn dataField='name' customInsertEditor={ { getElement: this.customNameField } }>Product Name</TableHeaderColumn>
8885
<TableHeaderColumn dataField='sales' customInsertEditor={ { getElement: this.customSaleField } }>On Sales?</TableHeaderColumn>

0 commit comments

Comments
 (0)