mirror of https://github.com/vector-im/riot-web
Import the js-sdk at the index so the `request` object gets set
Now that all the imports are replaced, we need to set up the js-sdk somewhere. Might as well do it in the index of the react-sdk where callers will be relying on those skin functions.pull/21833/head
parent
be8ee1a576
commit
c2cc086217
|
@ -28,3 +28,7 @@ export function resetSkin() {
|
|||
export function getComponent(componentName) {
|
||||
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";
|
||||
|
|
Loading…
Reference in New Issue