mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +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 => {
|
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' : ''}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue