Skip to content

Commit

Permalink
Corrected all instances of 'seperate' to 'separated' opps
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsontky committed Jul 10, 2019
1 parent cb15bb7 commit 0b890ab
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
handicapped: doc.facilities.handicapped,
male: doc.facilities.male,
female: doc.facilities.female,
seperateHandicapped: doc.facilities.seperateHandicapped,
separateHandicapped: doc.facilities.separateHandicapped,
waterCooler: doc.facilities.waterCooler
},
paranomaUrl: doc.paranomaUrl
Expand Down
2 changes: 1 addition & 1 deletion src/components/typesHelp.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const content = (
</li>
<li>
<i className="em-svg em-wheelchair" />: Is handicapped accessible
(Includes seperate handicapped toilets or those inside toilets as a
(Includes separate handicapped toilets or those inside toilets as a
larger cubicle)
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ export const query = graphql`
handicapped
male
female
seperateHandicapped
separateHandicapped
waterCooler
}
lat
Expand Down
6 changes: 3 additions & 3 deletions src/templates/toilet.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export default ({ data }) => {
function handicappedText() {
if (!utils.hasHandicappedToilet(data.toilets)) {
return "Is handicapped accessible"
} else if (!utils.hasSeperateHandicappedToilet(data.toilets))
} else if (!utils.hasSeparateHandicappedToilet(data.toilets))
return "Is handicapped accessible (Handicapped cubicle inside toilet)"
else {
return "Is handicapped accessible (Has seperate handicapped toilet)"
return "Is handicapped accessible (Has separate handicapped toilet)"
}
}

Expand Down Expand Up @@ -86,7 +86,7 @@ export const query = graphql`
handicapped
male
female
seperateHandicapped
separateHandicapped
waterCooler
}
paranomaUrl
Expand Down
6 changes: 3 additions & 3 deletions src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ function hasHandicappedToilet(toilet) {
return toilet.facilities.handicapped
}

function hasSeperateHandicappedToilet(toilet) {
return toilet.facilities.seperateHandicapped
function hasSeparateHandicappedToilet(toilet) {
return toilet.facilities.separateHandicapped
}

function toiletHasHose(toilet) {
Expand Down Expand Up @@ -105,7 +105,7 @@ export {
hasMaleToilet,
hasFemaleToilet,
hasHandicappedToilet,
hasSeperateHandicappedToilet,
hasSeparateHandicappedToilet,
toiletHasHose,
toiletHasShowerHeads,
toiletHasWaterCooler,
Expand Down

0 comments on commit 0b890ab

Please sign in to comment.