Skip to content

Commit

Permalink
Make pickup type names consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
maxatdetroit committed May 29, 2024
1 parent 6be219b commit 512b41d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Cal.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Cal {
calContainer.id = 'calendar';
tempCal.innerHTML = `
<article class='cal-legend'>
<span class="garbage">Garbage</span>
<span class="garbage">Garbage</span>
<span class="recycle">Recycle</span>
<span class="bulk">Bulk</span>
<span class="yard">Yard</span>
Expand Down
6 changes: 3 additions & 3 deletions src/utils/WasteAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const PICKUP_TYPES = Object.freeze({
});

const PICKUP_TYPES_PRINT = Object.freeze({
"trash": "Trash",
"recycling": "Recycling",
"trash": "Garbage",
"recycling": "Recycle",
"bulk": "Bulk",
"yard waste": "Yard Waste"
"yard waste": "Yard"
});

export {buildWasteAPI, PICKUP_TYPES, PICKUP_TYPES_PRINT};

0 comments on commit 512b41d

Please sign in to comment.