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
@@ -17,6 +17,10 @@ limitations under the License.
|
||||
|
||||
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";
|
||||
|
||||
export function loadSkin(skinObject: ISkinObject): void {
|
||||
Skinner.load(skinObject);
|
||||
}
|
||||
@@ -29,7 +33,3 @@ export function getComponent(componentName: string): any {
|
||||
return Skinner.getComponent(componentName);
|
||||
}
|
||||
|
||||
// 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";
|
||||
|
||||
|
Reference in New Issue
Block a user