Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Qmaps 2312 survey fixes #1223

Merged
merged 2 commits into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@babel/polyfill": "^7.8.0",
"@qwant/map-style-builder": "github:Qwant/map-style-builder#81eebb0",
"@qwant/qwant-basic-gl-style": "^1.4.0",
"@qwant/qwant-ponents": "^0.1.2",
"@qwant/qwant-ponents": "^0.1.3",
"@turf/along": "^6.0.1",
"@turf/bbox": "^6.0.1",
"@turf/bearing": "^6.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/panel/RootComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const RootComponent = ({ router }) => {
const { isMobile } = useDevice();

useEffect(() => {
document.body.dataset.device = isMobile ? 'mobile' : 'desktop';
if (!isMobile) {
window.execOnMapLoaded(() => {
fire('move_mobile_bottom_ui', 0);
Expand Down