fixed isMobile()

This commit is contained in:
muerwre 2019-03-04 16:42:06 +07:00
parent 6aecbd3d26
commit 31e042e945
2 changed files with 0 additions and 4 deletions

View file

@ -48,8 +48,6 @@ class Component extends React.Component<Props, State> {
openRoute = (_id: string): void => { openRoute = (_id: string): void => {
if (isMobile()) this.props.setDialogActive(false); if (isMobile()) this.props.setDialogActive(false);
console.log('HERE!', { isMobile: isMobile() });
pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`); pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`);
}; };

View file

@ -55,8 +55,6 @@ export class Sticker {
this.deleteSticker = deleteSticker; this.deleteSticker = deleteSticker;
this.lockMapClicks = lockMapClicks; this.lockMapClicks = lockMapClicks;
console.log({ set, sticker });
ReactDOM.render( ReactDOM.render(
<React.Fragment> <React.Fragment>
<div <div