u
This commit is contained in:
@@ -27,7 +27,7 @@ class ArticleView extends Component {
|
|||||||
super(props, context);
|
super(props, context);
|
||||||
const { article, unwatch } = context.article.watch(
|
const { article, unwatch } = context.article.watch(
|
||||||
props.sku,
|
props.sku,
|
||||||
(next) => this.setState({ article: next }),
|
(next) => {this.setState({ article: next });},
|
||||||
);
|
);
|
||||||
this.state = { article };
|
this.state = { article };
|
||||||
this.unwatchArticle = unwatch;
|
this.unwatchArticle = unwatch;
|
||||||
|
|||||||
Reference in New Issue
Block a user