diff --git a/routes/_components/Avatar.html b/routes/_components/Avatar.html
index d155a55..13c4458 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 ce524aa..59ea249 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 = (() => {