mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
incorrect link type (#215)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
parent
35fd83de73
commit
b55362f309
@ -13,7 +13,7 @@ export default function MetaSecondary({
|
||||
}): ReactElement {
|
||||
return (
|
||||
<aside className={styles.metaSecondary}>
|
||||
{metadata?.additionalInformation?.links?.length && (
|
||||
{metadata?.additionalInformation?.links?.length > 0 && (
|
||||
<div className={styles.samples}>
|
||||
<MetaItem
|
||||
title="Sample Data"
|
||||
|
@ -38,7 +38,7 @@ export function transformPublishFormToMetadata(
|
||||
...AssetModel.additionalInformation,
|
||||
description,
|
||||
tags: transformTags(tags),
|
||||
links: typeof links !== 'string' && links,
|
||||
links: typeof links !== 'string' ? links : [],
|
||||
termsAndConditions
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user