Ealanisln / ready-set

On-demand courier that specializes in delivery for all your needs. We are Food Safety, and HIPPA Certified. Our team can meet all your Bay Area delivery needs.
https://readysetllc.com
MIT License
0 stars 0 forks source link

On vendor and client options do not include Santa Cruz County. #5

Closed fersanz-87 closed 1 month ago

fersanz-87 commented 1 month ago

Checking the webpage, on vendor and client options do not include "Santa Cruz" County, which was available on the previous Ready Set webpage. It is necessarily to include it due the company provides service in that county.

fersanz-87 commented 1 month ago

Problem: On vendor and client options do not include Santa Cruz County, which was available on the previous Ready Set webpage.

Current code: export const COUNTIES: readonly Option[] = [ { label: "Alameda", value: "Alameda" }, { label: "Contra Costa", value: "Contra Costa" }, { label: "Marin", value: "Marin" }, { label: "Napa", value: "Napa" }, { label: "San Francisco", value: "San Francisco" }, { label: "San Mateo", value: "San Mateo" }, { label: "Santa Clara", value: "Santa Clara" }, { label: "Solano", value: "Solano" }, { label: "Sonoma", value: "Sonoma" }, ] as const;

Root causes: As you can see on the code above, county "Santa Cruz" is not added on the counties list.

Solution: Looking up the code, on FormData.ts I added "Santa Cruz" county on the counties list, between "Santa Clara" and "Solano" counties. After this, I ran the code and fortunately was added successfully, showing this county on vendor and client options.

export const COUNTIES: readonly Option[] = [ { label: "Alameda", value: "Alameda" }, { label: "Contra Costa", value: "Contra Costa" }, { label: "Marin", value: "Marin" }, { label: "Napa", value: "Napa" }, { label: "San Francisco", value: "San Francisco" }, { label: "San Mateo", value: "San Mateo" }, { label: "Santa Clara", value: "Santa Clara" }, { label: "Santa Cruz", value: "Santa Cruz" }, { label: "Solano", value: "Solano" }, { label: "Sonoma", value: "Sonoma" }, ] as const;