fix(Transfer): set state on an unmounted component (#16822)

This commit is contained in:
Jason Chung 2019-05-27 20:43:29 +08:00 committed by zombieJ
parent ba95f0ef09
commit 9b05885363

View File

@ -36,7 +36,7 @@ class ListBody extends React.Component<TransferListBodyProps> {
});
}
componentWillMount() {
componentWillUnmount() {
raf.cancel(this.mountId);
}