You've already forked matrix-react-sdk
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:
committed by
GitHub
parent
5f51ba1592
commit
f25e6813bb
@@ -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);
|
||||
|
Reference in New Issue
Block a user