Skip to content

Commit

Permalink
fix build problem
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed Dec 23, 2017
1 parent 8113e76 commit acfdeef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/filter/FilterScreen.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class FilterScreen extends React.Component {
);
}

toggleTopic(topic: string, value: boolean) {
toggleTopic(topic) {
const selectedTopics = { ...this.state.selectedTopics };
let value = !selectedTopics[topic];
if (value) {
Expand Down
2 changes: 1 addition & 1 deletion js/filter/FilterScreen.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class FilterScreen extends React.Component {
);
}

toggleTopic(topic: string, value: boolean) {
toggleTopic(topic) {
const selectedTopics = { ...this.state.selectedTopics };
const value = !selectedTopics[topic];
if (value) {
Expand Down

0 comments on commit acfdeef

Please sign in to comment.