frontend/lib/getMapsLink.ts (view raw)
1const getMapsLink = (address: string) => 2 `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent( 3 address 4 )}`; 5 6export default getMapsLink;