1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Fix lint issue

This commit is contained in:
Akshay 2021-08-08 20:32:00 +02:00
parent 26ceeb29d7
commit 8fe69308c0

View File

@ -34,10 +34,10 @@ const ParameterExample = ({ properties }) => (
)}
{(properties[key].type === 'integer' ||
properties[key].type === 'number') && (
<span className="token number">
{`${properties[key].example}`}
</span>
)}
<span className="token number">
{`${properties[key].example}`}
</span>
)}
{(properties[key].type === 'array' ||
properties[key].type === 'object') &&
JSON.stringify(properties[key].example, null, 2)}