Skip to content

Commit 0eddd2c

Browse files
committed
Fix Avatar loading.
1 parent 5831b33 commit 0eddd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/speaker/[slug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let avatar: any;
2222
2323
try {
2424
25-
avatar = getImage({ src: entry.data.avatar , width:'600', htight: '400', alt: 'User avatar' });
25+
avatar = getImage({ src: entry.data.avatar , width:600, height:400, alt: 'User avatar' });
2626
} catch (e) {
2727
//TODO: improve placeholders and offline
2828
//avatar = await getImage({ src: 'https://placehold.co/600x400?text=x', width: '600', height:'400', alt: 'Default avatar' });

0 commit comments

Comments
 (0)