COVID19 Global Hackathon /// To support local businesses, we’re creating a map layer for crowdfunding campaigns so ppl can see the businesses near them raising survival money online -- giving businesses access to and helping them maintain a loyal consumer base.
When I click "claim" it sends me to what looks like a page "http://localhost:3000/claim-business" but that URL doesn't actually work, and if I try to send that to someone, like the owner of the restaurant and they go there, it actually crashes the app. I would suggest we put the business ID behind it: http://localhost:3000/claim-business/12321414 and then have it actually work in the router so that someone could come directly to that link to register.
Check out PR, I used route params to pass place_id then needed data (phone number, place name) is fetched from G places using provided id. I think this solves that problem
When I click "claim" it sends me to what looks like a page "http://localhost:3000/claim-business" but that URL doesn't actually work, and if I try to send that to someone, like the owner of the restaurant and they go there, it actually crashes the app. I would suggest we put the business ID behind it: http://localhost:3000/claim-business/12321414 and then have it actually work in the router so that someone could come directly to that link to register.