Fix MatrixClientPeg imports

This commit is contained in:
Travis Ralston 2019-12-20 14:13:46 -07:00
parent 5a17406fe9
commit 042bd35d79
192 changed files with 194 additions and 200 deletions

View file

@ -248,9 +248,4 @@ if (!global.mxMatrixClientPeg) {
global.mxMatrixClientPeg = new _MatrixClientPeg();
}
// We export both because the syntax is slightly different with
// our babel changes. We maintain both for backwards compatibility
// and for babel to be happy.
// TODO: Convert this to a single export
export default global.mxMatrixClientPeg;
export const MatrixClientPeg = global.mxMatrixClientPeg;