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 {
|
}): ReactElement {
|
||||||
return (
|
return (
|
||||||
<aside className={styles.metaSecondary}>
|
<aside className={styles.metaSecondary}>
|
||||||
{metadata?.additionalInformation?.links?.length && (
|
{metadata?.additionalInformation?.links?.length > 0 && (
|
||||||
<div className={styles.samples}>
|
<div className={styles.samples}>
|
||||||
<MetaItem
|
<MetaItem
|
||||||
title="Sample Data"
|
title="Sample Data"
|
||||||
|
@ -38,7 +38,7 @@ export function transformPublishFormToMetadata(
|
|||||||
...AssetModel.additionalInformation,
|
...AssetModel.additionalInformation,
|
||||||
description,
|
description,
|
||||||
tags: transformTags(tags),
|
tags: transformTags(tags),
|
||||||
links: typeof links !== 'string' && links,
|
links: typeof links !== 'string' ? links : [],
|
||||||
termsAndConditions
|
termsAndConditions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user