Skip to content
Snippets Groups Projects
Commit c4333583 authored by Tomasz Knapik's avatar Tomasz Knapik Committed by Todd Dembrey
Browse files

Delete unnecessary code

parent 425f091a
No related branches found
No related tags found
No related merge requests found
......@@ -19,10 +19,6 @@ export default class RichTextForm extends React.Component {
value: RichTextEditor.createEmptyValue(),
};
setEditor = editor => {
this.editor = editor;
}
resetEditor = () => {
this.setState({value: RichTextEditor.createEmptyValue()});
}
......@@ -32,7 +28,6 @@ export default class RichTextForm extends React.Component {
disabled: this.props.disabled,
onChange: this.handleValueChange,
value: this.state.value,
ref: this.setEditor,
};
return (
......
......@@ -18,7 +18,6 @@ class Note extends React.Component {
render() {
const { note } = this.props;
console.log(note.timestamp);
return <NoteListingItem
user={note.user}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment