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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user