This commit is contained in:
seb
2026-08-05 23:54:20 +02:00
parent caf08a3262
commit 80ca59ab11

View File

@@ -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;