Skip to content

Commit 5b9a7de

Browse files
authored
Update withObservableStream.js
1 parent b4cb54d commit 5b9a7de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/withObservableStream.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ export default (observables, triggers) => Component => {
55
componentDidMount() {
66
this.subscriptions = observables.map(observable =>
77
observable.subscribe(
8-
newState =>
9-
console.log(newState) || this.setState({ ...newState }),
8+
newState => this.setState({ ...newState }),
109
),
1110
);
1211
}

0 commit comments

Comments
 (0)