Skip to content

Commit

Permalink
Test removal of react-code-blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ttannis committed Jul 1, 2020
1 parent 1b53874 commit 9894671
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CopyBlock, atomOneLight } from 'react-code-blocks';
/* import { CopyBlock, atomOneLight } from 'react-code-blocks'; */

const LANGUAGE = 'sql';

Expand All @@ -8,7 +8,7 @@ type CodeBlockProps = {
};

const CodeBlock: React.SFC<CodeBlockProps> = ({ text }: CodeBlockProps) => {
return (
/* return (
<CopyBlock
text={text}
language={LANGUAGE}
Expand All @@ -17,7 +17,8 @@ const CodeBlock: React.SFC<CodeBlockProps> = ({ text }: CodeBlockProps) => {
wrapLines
codeBlock
/>
);
);*/
return <div>Sad face</div>;
};

export default CodeBlock;
1 change: 0 additions & 1 deletion amundsen_application/static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
"react": "^16.13.1",
"react-avatar": "^2.5.1",
"react-bootstrap": "^0.32.4",
"react-code-blocks": "0.0.7",
"react-document-title": "^2.0.3",
"react-dom": "^16.13.1",
"react-js-pagination": "^3.0.3",
Expand Down

0 comments on commit 9894671

Please sign in to comment.