From 815f5889426269b1e3383d14c5763455c449c04b Mon Sep 17 00:00:00 2001 From: arfy slowy Date: Sat, 21 Aug 2021 14:26:03 +0700 Subject: [PATCH] fix: typo grammar (#43259) --- .../english/04-data-visualization/d3-dashboard/part-051.md | 2 +- .../english/04-data-visualization/d3-dashboard/part-052.md | 2 +- tools/contributor/dashboard-app/server/routes/pareto.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/04-data-visualization/d3-dashboard/part-051.md b/curriculum/challenges/english/04-data-visualization/d3-dashboard/part-051.md index f648e20fdc..921306d9c8 100644 --- a/curriculum/challenges/english/04-data-visualization/d3-dashboard/part-051.md +++ b/curriculum/challenges/english/04-data-visualization/d3-dashboard/part-051.md @@ -7,7 +7,7 @@ dashedName: part-51 # --description-- -Set the `x` values for `tumblrLine` using another "d function". Use your `xScale` and the `d.year` to calculcate their values just like you did for the Twitter line. +Set the `x` values for `tumblrLine` using another "d function". Use your `xScale` and the `d.year` to calculate their values just like you did for the Twitter line. # --hints-- diff --git a/curriculum/challenges/english/04-data-visualization/d3-dashboard/part-052.md b/curriculum/challenges/english/04-data-visualization/d3-dashboard/part-052.md index 10547d63c1..eef39805fc 100644 --- a/curriculum/challenges/english/04-data-visualization/d3-dashboard/part-052.md +++ b/curriculum/challenges/english/04-data-visualization/d3-dashboard/part-052.md @@ -7,7 +7,7 @@ dashedName: part-52 # --description-- -Set the `y` values for `tumblrLine` using a "d function" again. Use your `yScale` and `d.followers.tumblr` to calculcate their values just like you did for the Twitter line. +Set the `y` values for `tumblrLine` using a "d function" again. Use your `yScale` and `d.followers.tumblr` to calculate their values just like you did for the Twitter line. The x values for each line will be the same, but the y values will use the data from the different platforms. diff --git a/tools/contributor/dashboard-app/server/routes/pareto.js b/tools/contributor/dashboard-app/server/routes/pareto.js index 55bbca762c..baa63de4be 100644 --- a/tools/contributor/dashboard-app/server/routes/pareto.js +++ b/tools/contributor/dashboard-app/server/routes/pareto.js @@ -13,7 +13,7 @@ const createPareto = reportObj => }, []) .sort((a, b) => b.count - a.count); -router.get('/', reqLimiter, async (reqeust, response) => { +router.get('/', reqLimiter, async (request, response) => { const prs = await PR.find({}).then(data => data); prs.sort((a, b) => a._id - b._id); const reportObj = prs.reduce((obj, pr) => {