Currently, I have this on one of my NextJS pages
const router = useRouter(); useEffect(() => { if ( query.lat === undefined || query.lng =