fix(ui): fix metadata viewer crash

This commit is contained in:
psychedelicious 2023-05-27 22:00:25 +10:00 committed by Kent Keirsey
parent 05b99b5377
commit 38fd2ad45d

View File

@ -53,6 +53,11 @@ const MetadataItem = ({
withCopy = false,
}: MetadataItemProps) => {
const { t } = useTranslation();
if (!value) {
return null;
}
return (
<Flex gap={2}>
{onClick && (