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 plainText = examples['text/plain']
|
||||
|
||||
if (typeof document !== `undefined`) {
|
||||
if (jsonExample) {
|
||||
return (
|
||||
<div>
|
||||
@ -35,7 +34,7 @@ const ResponseExample = ({ examples }) => {
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user