Skip to content

Commit

Permalink
removes ace smart contract code
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Burnie authored and Andrew Burnie committed Mar 22, 2022
1 parent f28b37c commit 7a70b4f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions explorer/client/src/pages/object-result/ObjectResult.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'ace-builds/src-noconflict/theme-github';
//import 'ace-builds/src-noconflict/theme-github';
import React, { useEffect, useState, useCallback, useRef } from 'react';
import AceEditor from 'react-ace';
//import AceEditor from 'react-ace';
import { useParams } from 'react-router-dom';

import ErrorResult from '../../components/error-result/ErrorResult';
Expand Down Expand Up @@ -133,6 +133,8 @@ function DisplayBox({ data }: { data: DataType }) {

if (IS_SMART_CONTRACT(data)) {
return (
<div>Smart Contract Support is coming soon</div>
/* TODO - implement smart contract support with real data
<div className={styles['display-container']}>
<AceEditor
theme="github"
Expand All @@ -143,6 +145,7 @@ function DisplayBox({ data }: { data: DataType }) {
className={styles.codebox}
/>
</div>
*/
);
}

Expand Down

0 comments on commit 7a70b4f

Please sign in to comment.