From d59208d21fa4105569104540872bbd172d8a91cb Mon Sep 17 00:00:00 2001 From: PijusSerapinasMipsas Date: Thu, 6 Jul 2023 21:37:24 +0300 Subject: [PATCH] meta image fix --- src/common/components/meta/index.tsx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/common/components/meta/index.tsx b/src/common/components/meta/index.tsx index 1cd55592b9d..a3cdaee9390 100644 --- a/src/common/components/meta/index.tsx +++ b/src/common/components/meta/index.tsx @@ -38,13 +38,6 @@ class Meta extends Component { rss, global, } = this.props; - let { image } = this.props; - - if (!image) { - image = `${defaults.imageServer}/u/${ - global?.hive_id ? global.hive_id : "hive-112019" - }/avatar/medium`; - } return ( <> @@ -138,11 +131,14 @@ class Meta extends Component { )} - {image && ( - - - - )} + + + ); }