mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed isMobile()
This commit is contained in:
parent
6aecbd3d26
commit
31e042e945
2 changed files with 0 additions and 4 deletions
|
@ -48,8 +48,6 @@ class Component extends React.Component<Props, State> {
|
|||
openRoute = (_id: string): void => {
|
||||
if (isMobile()) this.props.setDialogActive(false);
|
||||
|
||||
console.log('HERE!', { isMobile: isMobile() });
|
||||
|
||||
pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`);
|
||||
};
|
||||
|
||||
|
|
|
@ -55,8 +55,6 @@ export class Sticker {
|
|||
this.deleteSticker = deleteSticker;
|
||||
this.lockMapClicks = lockMapClicks;
|
||||
|
||||
console.log({ set, sticker });
|
||||
|
||||
ReactDOM.render(
|
||||
<React.Fragment>
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue