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

Merge branch 'feature/read-the-docs' of github.com:oceanprotocol/docs into feature/read-the-docs

This commit is contained in:
Akshay 2021-06-02 01:24:06 +02:00
commit 935ff21231

View File

@ -101,7 +101,9 @@ MethodDetails.propTypes = {
}
const getSourceLink = (sources, sourceUrl) => {
return sources && sources[0] ? `${sourceUrl}src/${sources[0].fileName}#L${sources[0].line}` : ''
return sources && sources[0]
? `${sourceUrl}src/${sources[0].fileName}#L${sources[0].line}`
: ''
}
const PropertyWrapper = ({ property, sourceUrl, parentAnchor }) => {