mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Fix build issue
This commit is contained in:
parent
0e658d7257
commit
8d565a7ec7
@ -7,7 +7,6 @@ const ResponseExample = ({ examples }) => {
|
|||||||
const jsonExample = examples['application/json']
|
const jsonExample = examples['application/json']
|
||||||
const plainText = examples['text/plain']
|
const plainText = examples['text/plain']
|
||||||
|
|
||||||
if (typeof document !== `undefined`) {
|
|
||||||
if (jsonExample) {
|
if (jsonExample) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
@ -35,7 +34,7 @@ const ResponseExample = ({ examples }) => {
|
|||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user