mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
removed expandable textarea
This commit is contained in:
parent
4f65aa8f89
commit
6db5b62a74
2 changed files with 2 additions and 6 deletions
|
@ -6,7 +6,6 @@ import { Icon } from '~/components/panels/Icon';
|
|||
import { Switch } from '~/components/Switch';
|
||||
|
||||
import classnames from 'classnames';
|
||||
import ExpandableTextarea from 'react-expandable-textarea';
|
||||
import { connect } from 'react-redux';
|
||||
import { selectMap } from '~/redux/map/selectors';
|
||||
import * as EDITOR_ACTIONS from '~/redux/editor/actions';
|
||||
|
@ -95,7 +94,7 @@ class SaveDialogUnconnected extends React.Component<Props, State> {
|
|||
componentWillUnmount = () => {
|
||||
this.props.editorCancelSave()
|
||||
};
|
||||
|
||||
|
||||
render() {
|
||||
const { title, is_public, description } = this.state;
|
||||
const {
|
||||
|
@ -139,9 +138,7 @@ class SaveDialogUnconnected extends React.Component<Props, State> {
|
|||
</div>
|
||||
|
||||
<div className="save-textarea">
|
||||
<ExpandableTextarea
|
||||
minRows={2}
|
||||
maxRows={5}
|
||||
<textarea
|
||||
placeholder="Описание маршрута"
|
||||
value={parseDesc(description)}
|
||||
onChange={this.setDescription}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue