hide undo on mobiles

This commit is contained in:
Fedor Katurov 2020-01-22 12:33:09 +07:00
parent 37003b9e85
commit 9a08ccd95b

View file

@ -83,7 +83,7 @@ class EditorPanelUnconnected extends PureComponent<Props, void> {
this.panel = el; this.panel = el;
}} }}
> >
<div className="secondary-bar"> <div className="secondary-bar desktop-only">
<button <button
className={classnames({ inactive: records.length === 0 || position === 0 })} className={classnames({ inactive: records.length === 0 || position === 0 })}
onClick={this.props.editorUndo} onClick={this.props.editorUndo}