Fix redundant getComponent

This commit is contained in:
Luke Barnard 2017-05-16 14:24:24 +01:00
parent 2c5fb01f03
commit ca907f42dc

View file

@ -36,7 +36,6 @@ function createRoom(opts) {
opts = opts || {}; opts = opts || {};
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
const NeedToRegisterDialog = sdk.getComponent("dialogs.NeedToRegisterDialog");
const Loader = sdk.getComponent("elements.Spinner"); const Loader = sdk.getComponent("elements.Spinner");
const client = MatrixClientPeg.get(); const client = MatrixClientPeg.get();