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 => {
|
||||
if (isMobile()) this.props.setDialogActive(false);
|
||||
|
||||
console.log('HERE!', { isMobile: isMobile() });
|
||||
|
||||
pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue