From ddd0b6949d3832da688e29d7b2c6688a3911a7c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bru=C3=B1=C3=B3=20A=2E=20Chen?= Date: Tue, 16 Apr 2019 00:42:07 +0900 Subject: [PATCH] Fix typo in simple ecommerce example --- .../simple-ecommerce/customize/custom-relation-tree_toOne.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple-ecommerce/customize/custom-relation-tree_toOne.js b/examples/simple-ecommerce/customize/custom-relation-tree_toOne.js index 656ee3b2..2b12ddee 100644 --- a/examples/simple-ecommerce/customize/custom-relation-tree_toOne.js +++ b/examples/simple-ecommerce/customize/custom-relation-tree_toOne.js @@ -31,7 +31,7 @@ export default class RelationTree extends PureComponent { this.fetchData(); } - UNSAFE_componentWillUnmount() { + componentWillUnmount() { if (this.subscription) { this.subscription.unsubscribe(); }