We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a46106 commit c792f7dCopy full SHA for c792f7d
src/components/CodeEditor/CodeEditor.js
@@ -43,7 +43,7 @@ class CodeEditor extends Component {
43
}
44
45
render() {
46
- const {children, containerNodeID} = this.props;
+ const {containerNodeID} = this.props;
47
const {
48
compiledES6,
49
code,
src/templates/components/Sidebar/Section.js
@@ -81,10 +81,7 @@ class Section extends React.Component {
81
? activeItemId === item.id
82
: isItemActive(location, item),
83
item: section.isOrdered
84
- ? {
85
- ...item,
86
- title: `${index + 1}. ${item.title}`,
87
- }
+ ? {...item, title: `${index + 1}. ${item.title}`}
88
: item,
89
location,
90
onLinkClick,
0 commit comments