mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
fix(Transfer): set state on an unmounted component (#16822)
This commit is contained in:
parent
ba95f0ef09
commit
9b05885363
@ -36,7 +36,7 @@ class ListBody extends React.Component<TransferListBodyProps> {
|
||||
});
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
componentWillUnmount() {
|
||||
raf.cancel(this.mountId);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user