1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

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

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);