refactor(json-viewer): remove console.log
This commit is contained in:
parent
cfadae4df3
commit
8a43e88f24
@ -1,11 +1,8 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
type JsonViewerProps = {
|
type JsonViewerProps = {
|
||||||
data: any;
|
data: any;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function JsonViewer({ data }: JsonViewerProps) {
|
export function JsonViewer({ data }: JsonViewerProps) {
|
||||||
console.log (JSON.stringify(data));
|
|
||||||
return (
|
return (
|
||||||
<pre style={{
|
<pre style={{
|
||||||
backgroundColor: '#f4f4f4',
|
backgroundColor: '#f4f4f4',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user