mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
added debug info x2
This commit is contained in:
parent
8225bc274a
commit
72f6a63f47
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ 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' : ''}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue