mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
cleanup
This commit is contained in:
parent
cc87e35f23
commit
1ef564bdb0
@ -1,5 +1,6 @@
|
||||
import {TemplateView} from "../general/TemplateView.js";
|
||||
import {brawlGithubLink} from "./common.js";
|
||||
import {spinner} from "../common.js";
|
||||
|
||||
export class LoginView extends TemplateView {
|
||||
render(t, vm) {
|
||||
@ -24,12 +25,6 @@ export class LoginView extends TemplateView {
|
||||
}
|
||||
}
|
||||
|
||||
function spinner(t, extraClasses = undefined) {
|
||||
return t.svg({className: Object.assign({"spinner": true}, extraClasses), viewBox:"0 0 100% 100%"},
|
||||
t.circle({cx:"50%", cy:"50%", r:"45%", pathLength:"100"})
|
||||
);
|
||||
}
|
||||
|
||||
class SessionLoadView extends TemplateView {
|
||||
render(t) {
|
||||
return t.div({className: "SessionLoadView"}, [
|
||||
|
@ -24,7 +24,6 @@ export class Disposables {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
disposeTracked(value) {
|
||||
const idx = this._disposables.indexOf(value);
|
||||
if (idx !== -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user