crownheightsaid/mutual-aid-app

[Delivery Map] Remove sms_pickup=true check for displaying sms pickup

Closed this issue · 0 comments

Summary

We currently hide the sms pickup feature behind a URL param, e.g. http://localhost:3000/delivery-needed?sms_pickup=true. This was because we were originally beta testing and didn't want it to appear by default. Now that this is the default way that volunteers are picking up deliveries, we should remove this check and have the Claim Delivery button appear by default.

Claim Delivery button should appear by default now:
Screen Shot 2021-01-07 at 12 50 13 PM

Code

Where this check happens:

const showSmsPickup = getParam("sms_pickup") === "true";

You may also need to clean up tests if there are any.