mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Try to fetch extensions in constructor of Preview
This commit is contained in:
parent
5dfbe422d7
commit
2293eebaec
1 changed files with 4 additions and 3 deletions
|
@ -55,6 +55,7 @@ class Preview extends React.Component {
|
||||||
waiting: false
|
waiting: false
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
this.getExtensions(this.state.projectId);
|
||||||
this.addEventListeners();
|
this.addEventListeners();
|
||||||
}
|
}
|
||||||
componentDidUpdate (prevProps) {
|
componentDidUpdate (prevProps) {
|
||||||
|
|
Loading…
Reference in a new issue