From 1a3a6e2eb5e49947da905eedb2216ce1bc38e460 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 8 Jul 2021 14:54:54 -0500 Subject: [PATCH] Fix propTypes warning in Blurhash, key warning in ProfileInfoPanel --- app/soapbox/components/blurhash.js | 2 +- app/soapbox/features/ui/components/profile_info_panel.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/soapbox/components/blurhash.js b/app/soapbox/components/blurhash.js index 2af5cfc56..0bab022f8 100644 --- a/app/soapbox/components/blurhash.js +++ b/app/soapbox/components/blurhash.js @@ -56,7 +56,7 @@ function Blurhash({ } Blurhash.propTypes = { - hash: PropTypes.string.isRequired, + hash: PropTypes.string, width: PropTypes.number, height: PropTypes.number, dummy: PropTypes.bool, diff --git a/app/soapbox/features/ui/components/profile_info_panel.js b/app/soapbox/features/ui/components/profile_info_panel.js index cb8a7ed76..c32bfc42e 100644 --- a/app/soapbox/features/ui/components/profile_info_panel.js +++ b/app/soapbox/features/ui/components/profile_info_panel.js @@ -131,7 +131,7 @@ class ProfileInfoPanel extends ImmutablePureComponent { {fields.map((pair, i) => isTicker(pair.get('name', '')) ? ( - + ) : (