mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
fixed prop-types deprecation
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React, {PureComponent, PropTypes} from 'react';
|
||||
import React, {PureComponent} from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import marked from 'marked';
|
||||
|
||||
const renderer = new marked.Renderer();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import React, {Component, PropTypes} from 'react';
|
||||
import React, {Component} from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import SimpleMDE from 'simplemde';
|
||||
import cn from 'classnames';
|
||||
import noop from 'lodash/noop';
|
||||
|
||||
Reference in New Issue
Block a user