mirror of
https://github.com/vector-im/element-web.git
synced 2026-01-27 19:31:11 +01:00
Make debugging skinning problems easier
This commit is contained in:
parent
b12cf7912a
commit
a5f237dfd6
@ -23,7 +23,7 @@ class Skinner {
|
||||
if (!name) throw new Error(`Invalid component name: ${name}`);
|
||||
if (this.components === null) {
|
||||
throw new Error(
|
||||
"Attempted to get a component before a skin has been loaded."+
|
||||
`Attempted to get a component (${name}) before a skin has been loaded.`+
|
||||
" This is probably because either:"+
|
||||
" a) Your app has not called sdk.loadSkin(), or"+
|
||||
" b) A component has called getComponent at the root level",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user