removed expandable textarea

This commit is contained in:
Fedor Katurov 2021-04-08 10:09:19 +07:00
parent 4f65aa8f89
commit 6db5b62a74
2 changed files with 2 additions and 6 deletions

View file

@ -87,7 +87,6 @@
"rc-slider": "8.5.0", "rc-slider": "8.5.0",
"react": "16.8.1", "react": "16.8.1",
"react-dom": "16.8.1", "react-dom": "16.8.1",
"react-expandable-textarea": "github:muerwre/react-expandable-textarea",
"react-hot-loader": "^4.1.1", "react-hot-loader": "^4.1.1",
"react-infinite-scroller": "^1.2.2", "react-infinite-scroller": "^1.2.2",
"react-rangeslider": "^2.2.0", "react-rangeslider": "^2.2.0",

View file

@ -6,7 +6,6 @@ import { Icon } from '~/components/panels/Icon';
import { Switch } from '~/components/Switch'; import { Switch } from '~/components/Switch';
import classnames from 'classnames'; import classnames from 'classnames';
import ExpandableTextarea from 'react-expandable-textarea';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { selectMap } from '~/redux/map/selectors'; import { selectMap } from '~/redux/map/selectors';
import * as EDITOR_ACTIONS from '~/redux/editor/actions'; import * as EDITOR_ACTIONS from '~/redux/editor/actions';
@ -139,9 +138,7 @@ class SaveDialogUnconnected extends React.Component<Props, State> {
</div> </div>
<div className="save-textarea"> <div className="save-textarea">
<ExpandableTextarea <textarea
minRows={2}
maxRows={5}
placeholder="Описание маршрута" placeholder="Описание маршрута"
value={parseDesc(description)} value={parseDesc(description)}
onChange={this.setDescription} onChange={this.setDescription}