* closes #73

* closes #73
This commit is contained in:
Ritesh Kumar authored and GitHub committed 2018-03-29 01:33:18 +05:30
1 parent d1a9a9ae85
commit b00a4d4148
10 files changed
+141 -47

No files matched your search

+3 -1
View File
@@ -169,7 +169,9 @@ export default class ConversionPanel extends PureComponent {
leftMode === "json"
? JSON.stringify(eval("(" + nValue + ")", null, 2))
: nValue;
let code = await this.props.getTransformedValue(json, splitValue);
let code = IN_BROWSER
? await this.props.getTransformedValue(json, splitValue)
: "";
code = code.prettyCode || code;
this.setState({