Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933)

This commit is contained in:
Michael Telatynski
2022-03-01 20:42:05 +00:00
committed by GitHub
parent 5f51ba1592
commit f25e6813bb
50 changed files with 79 additions and 49 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ import Skinner, { ISkinObject } from './Skinner';
// Import the js-sdk so the proper `request` object can be set. This does some
// magic with the browser injection to make all subsequent imports work fine.
import "matrix-js-sdk";
import "matrix-js-sdk/src/browser-index";
export function loadSkin(skinObject: ISkinObject): void {
Skinner.load(skinObject);