diff --git a/routes/_components/Avatar.html b/routes/_components/Avatar.html
index d155a558..13c44583 100644
--- a/routes/_components/Avatar.html
+++ b/routes/_components/Avatar.html
@@ -1,15 +1,11 @@
-{{#await imagePromise}}
-
-{{then src}}
-
-{{catch error}}
+{{#if error}}
-{{/await}}
-
+{{else}}
+
+{{/if}}
\ No newline at end of file
diff --git a/routes/_components/Layout.html b/routes/_components/Layout.html
index ce524aa1..59ea249d 100644
--- a/routes/_components/Layout.html
+++ b/routes/_components/Layout.html
@@ -52,13 +52,13 @@
leading: true,
trailing: true
})
- node.addEventListener('scroll', onScroll);
+ node.addEventListener('scroll', onScroll)
return {
teardown() {
- node.removeEventListener('scroll', onScroll);
+ node.removeEventListener('scroll', onScroll)
}
- };
+ }
},
fullscreen(node, callback) {
const onFullscreen = (() => {