simplify image loader

This commit is contained in:
Nolan Lawson 2018-01-16 07:20:54 -08:00
parent f915bc106e
commit 27e40da453
1 changed files with 0 additions and 2 deletions

View File

@ -1,6 +1,4 @@
{{#await imagePromise}}
<!-- 1x1 transparent png -->
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" />
{{then src}}
<img alt="Profile picture for @{{account.acct}}" src="{{account.avatar}}" />
{{catch error}}