mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 22:33:17 +00:00
fix wraning bug
This commit is contained in:
@@ -21,11 +21,15 @@ class ButtonItem extends React.Component {
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.state = {
|
||||
tooltipOpen: false,
|
||||
isFreezed: false,
|
||||
};
|
||||
this.timer = null;
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
this.timer && clearTimeout(this.timer);
|
||||
}
|
||||
|
||||
toggle = () => {
|
||||
|
Reference in New Issue
Block a user