Commit 8cd31405 authored by Marco Sehrer's avatar Marco Sehrer
Browse files

Merge pull request #40 from ninjaconcept/ms-fix-react-markdown-require

Remove obsolte markdown-component import
parents 63473fa5 2c2a1278
......@@ -103,8 +103,6 @@ export default class SampleDetails extends React.Component {
let sampleAmount = sample.amount_value && sample.amount_unit ? `(${sample.amount_value} ${sample.amount_unit})` : '';
let svgPath = sample.molecule_svg ? `/assets/${sample.molecule_svg}` : '';
let MarkdownTextarea = require('react-markdown-textarea');
return (
<div>
<Panel header="Sample Details" bsStyle='primary'>
......@@ -140,7 +138,7 @@ export default class SampleDetails extends React.Component {
placeholder={sample.description}
value={sample.description}
onChange={(e) => this.handleDescriptionChanged(e)}
rows={3}
rows={3}
/>
<ButtonToolbar>
<Button bsStyle="primary" onClick={this.closeDetails.bind(this)}>Back</Button>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment