groups: preload spinner asset

This commit is contained in:
Matilde Park 2020-04-01 17:52:55 -04:00 committed by Matilde Park
parent c873c4d01b
commit d03dcd8289

View File

@ -22,6 +22,10 @@ export class Root extends Component {
store.setStateHandler(this.setState.bind(this));
}
componentDidMount() {
new Image().src = "/~groups/img/Spinner.png";
}
render() {
const { props, state } = this;