From 7a461065d1f6027b9461079d151a8d07cf3b37e5 Mon Sep 17 00:00:00 2001 From: Soichiro Miki Date: Mon, 25 Feb 2019 22:08:58 +0900 Subject: [PATCH 1/2] Update 2019-02-23-is-react-translated-yet.md (#1752) --- content/blog/2019-02-23-is-react-translated-yet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/2019-02-23-is-react-translated-yet.md b/content/blog/2019-02-23-is-react-translated-yet.md index 2b3d4c7f1..9ede5c1a6 100644 --- a/content/blog/2019-02-23-is-react-translated-yet.md +++ b/content/blog/2019-02-23-is-react-translated-yet.md @@ -69,7 +69,7 @@ Finally, I would like to extend my gratitude to the following people and groups: * All the translation maintainers and contributors who are helping translate React to more than thirty languages. * The [Vue.js Japan User Group](https://github.com/vuejs-jp) for initiating the idea of having bot-managed translations, and especially [Hanatani Takuma](https://github.com/potato4d) for helping us understand their approach and helping maintain the Japanese translation. - * [Soichiro Miki](https://github.com/smikitki) for many [contributions](https://github.com/reactjs/reactjs.org/pull/1636) and thoughtful comments on the overall translation process, as well as for maintaining the Japanese translation. + * [Soichiro Miki](https://github.com/smikitky) for many [contributions](https://github.com/reactjs/reactjs.org/pull/1636) and thoughtful comments on the overall translation process, as well as for maintaining the Japanese translation. * [Eric Nakagawa](https://github.com/ericnakagawa) for managing our previous translation process. * [Brian Vaughn](https://github.com/bvaughn) for setting up the [languages page](/languages) and managing all the subdomains. From c792f7d29f317079c5e0ce1fff97fc5480903fbc Mon Sep 17 00:00:00 2001 From: Nat Alison Date: Mon, 25 Feb 2019 15:56:53 -0800 Subject: [PATCH 2/2] Fix eslint errors (#1734) --- src/components/CodeEditor/CodeEditor.js | 2 +- src/templates/components/Sidebar/Section.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js index 6e42fff7e..39ebe8f1e 100644 --- a/src/components/CodeEditor/CodeEditor.js +++ b/src/components/CodeEditor/CodeEditor.js @@ -43,7 +43,7 @@ class CodeEditor extends Component { } render() { - const {children, containerNodeID} = this.props; + const {containerNodeID} = this.props; const { compiledES6, code, diff --git a/src/templates/components/Sidebar/Section.js b/src/templates/components/Sidebar/Section.js index 94ad877f6..d48ed8e40 100644 --- a/src/templates/components/Sidebar/Section.js +++ b/src/templates/components/Sidebar/Section.js @@ -81,10 +81,7 @@ class Section extends React.Component { ? activeItemId === item.id : isItemActive(location, item), item: section.isOrdered - ? { - ...item, - title: `${index + 1}. ${item.title}`, - } + ? {...item, title: `${index + 1}. ${item.title}`} : item, location, onLinkClick,