mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Move loading view into separate file
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
3fb89a81bc
commit
d64d07aee5
8
src/platform/web/ui/session/rightpanel/LoadingView.js
Normal file
8
src/platform/web/ui/session/rightpanel/LoadingView.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import {TemplateView} from "../../general/TemplateView.js";
|
||||||
|
import {spinner} from "../../common.js";
|
||||||
|
|
||||||
|
export class LoadingView extends TemplateView {
|
||||||
|
render(t) {
|
||||||
|
return t.div(["Loading ", spinner(t)]);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user