Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.

Commit

Permalink
Fix: Remove error in console (#76)
Browse files Browse the repository at this point in the history
* Changing Props to props

* Update

* changing in the test
  • Loading branch information
aryamanpuri authored Jan 29, 2020
1 parent 95abdf1 commit 96a280e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/MarkdownTextArea/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,14 @@ export default class MarkdownTextArea extends Component {
};

render() {
const { classes, rows, markdownProps } = this.props;
const { onChange, defaultTabIndex, ...props } = this.props;
const {
classes,
rows,
markdownProps,
onChange,
defaultTabIndex,
...props
} = this.props;
const { tabIndex, value } = this.state;
const isPreview = tabIndex === 1;

Expand Down

0 comments on commit 96a280e

Please sign in to comment.