Fixed unmapped components

This commit is contained in:
squidfunk
2019-12-22 17:30:55 +01:00
parent 37b3870133
commit f39c9f9e68
6 changed files with 143 additions and 301 deletions

View File

@@ -101,7 +101,7 @@ export function watchComponentMap(
switch (name) {
/* Top-level components: update */
case "title":
case "header-title":
case "container":
if (name in prev && typeof prev[name] !== "undefined") {
prev[name]!.replaceWith(next[name]!)