diff --git a/src/components/modals/main/settings/sections/About.jsx b/src/components/modals/main/settings/sections/About.jsx index b2cca64f..69f8b481 100644 --- a/src/components/modals/main/settings/sections/About.jsx +++ b/src/components/modals/main/settings/sections/About.jsx @@ -111,23 +111,23 @@ export default class About extends PureComponent {

{this.language.contributors}

{this.state.loading}

- {this.state.contributors.map((item) => ( - - {item.login}/ + {this.state.contributors.map(({ handle, avatar, login }) => ( + + {handle} ))} { // for those who contributed without opening a pull request - this.state.other_contributors.map((item) => ( - - {item.login}/ + this.state.other_contributors.map(({ handle, avatar, login }) => ( + + {handle} ))}

{this.language.supporters}

{this.state.loading}

- {this.state.sponsors.map((item) => ( - - {item.handle} + {this.state.sponsors.map(({ handle, avatar }) => ( + + {handle} ))} diff --git a/src/components/widgets/search/Search.jsx b/src/components/widgets/search/Search.jsx index 95b07000..a6124c84 100644 --- a/src/components/widgets/search/Search.jsx +++ b/src/components/widgets/search/Search.jsx @@ -177,14 +177,14 @@ export default class Search extends PureComponent {
this.toggleDropdown()}>{this.state.currentSearch}
- {searchEngines.map((engine) => { - if (engine.name === this.state.currentSearch) { + {searchEngines.map(({ name }) => { + if (name === this.state.currentSearch) { return null; } return ( - - this.setSearch(engine.name)}>{engine.name} + + this.setSearch(name)}>{name}
);