diff --git a/cypress/e2e/desktop/search.cy.js b/cypress/e2e/desktop/search.cy.js index b46854eb..d0b07049 100644 --- a/cypress/e2e/desktop/search.cy.js +++ b/cypress/e2e/desktop/search.cy.js @@ -15,6 +15,6 @@ describe('search', () => { 'span:contains("30th Street Station, Market Street, Philadelphia, PA, USA")' ).click(); // Not a perfect approach since it assumes the use of GMaps creating a link tied to the updated map center - cy.get('a[href*="39\\.956837\\,\\-75\\.182233"]').should('exist'); + cy.get('a[href*="39\\.95574\\,\\-75\\.18196"]').should('exist'); }); }); diff --git a/src/hooks/useIsMobile.js b/src/hooks/useIsMobile.js index fb7efa74..90e06f4b 100644 --- a/src/hooks/useIsMobile.js +++ b/src/hooks/useIsMobile.js @@ -2,7 +2,7 @@ import useMediaQuery from '@mui/material/useMediaQuery'; const useIsMobile = () => { const isMobile = useMediaQuery(theme => - theme.breakpoints.down(theme.breakpoints.values.sm) + theme.breakpoints.down(theme.breakpoints.values.md) ); return isMobile;