mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 05:39:59 +00:00
fix wiki group ref (#6198)
This commit is contained in:
@@ -14,9 +14,13 @@ const propTypes = {
|
|||||||
|
|
||||||
class WikiCardGroup extends Component {
|
class WikiCardGroup extends Component {
|
||||||
|
|
||||||
|
constructor(props) {
|
||||||
|
super(props);
|
||||||
|
this.groupItemsRef = React.createRef();
|
||||||
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
window.addEventListener('resize', this.onResize);
|
window.addEventListener('resize', this.onResize);
|
||||||
this.groupItemsRef = React.createRef();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
Reference in New Issue
Block a user