Mobile map fix when listingId provided in URL
This commit is contained in:
@@ -36,3 +36,5 @@ export const listingUrl = (id) => {
|
||||
// TODO: fix this once removing hardcoded values
|
||||
return `http://localhost:8080/?listingId=${id}`
|
||||
}
|
||||
|
||||
export const isMobile = () => window.matchMedia("(max-width: 768px)").matches
|
||||
|
||||
Reference in New Issue
Block a user