fix: the image of avatar is displaying abnormally in HomeFeed & HomeS… (#698)

This commit is contained in:
我永远喜欢英梨梨
2023-06-27 23:49:47 +01:00
committed by GitHub
parent 1088daf513
commit b1e2405e31
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ const Post = ({
>
<span className="w-10 h-10 inline-block">
<Image
className="rounded-full"
className="rounded-full object-cover"
src={
post.character?.metadata?.content?.avatars?.[0] ||
"ipfs://bafkreiabgixxp63pg64moxnsydz7hewmpdkxxi3kdsa4oqv4pb6qvwnmxa"
+1 -1
View File
@@ -79,7 +79,7 @@ export function HomeSidebar({ hideSearch }: { hideSearch?: boolean }) {
<CharacterFloatCard siteId={site.handle}>
<span className="w-10 h-10 inline-block">
<Image
className="rounded-full"
className="rounded-full object-cover"
src={
site?.metadata?.content?.avatars?.[0] ||
"ipfs://bafkreiabgixxp63pg64moxnsydz7hewmpdkxxi3kdsa4oqv4pb6qvwnmxa"