1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

fix wiki group ref (#6198)

This commit is contained in:
Michael An
2024-06-13 16:44:22 +08:00
committed by GitHub
parent 7e1d98990f
commit d7d0140523

View File

@@ -14,9 +14,13 @@ const propTypes = {
class WikiCardGroup extends Component {
constructor(props) {
super(props);
this.groupItemsRef = React.createRef();
}
componentDidMount() {
window.addEventListener('resize', this.onResize);
this.groupItemsRef = React.createRef();
}
componentWillUnmount() {