chore: undo json comment

This commit is contained in:
Cody Bender 2024-08-08 23:15:50 -04:00
parent 3ead0ee0d0
commit e9d06f26d6

View File

@ -2,26 +2,29 @@
// Copyright 2020 DXOS.org
//
import React from 'react';
import { makeStyles } from '@material-ui/core';
import React from "react";
import { makeStyles } from "@material-ui/core";
// import { JsonTreeView } from '@lirewine/react-ux';
import { JsonTreeView } from "@lirewine/react-ux";
import { omitDeep } from '../util/omit';
import { omitDeep } from "../util/omit";
const useStyles = makeStyles(() => ({
root: {
flex: 1
}
flex: 1,
},
}));
const Json = ({ data }) => {
const classes = useStyles();
return null
// return (
// <JsonTreeView className={classes.root} data={omitDeep(data, '__typename')} />
// );
return null;
return (
<JsonTreeView
className={classes.root}
data={omitDeep(data, "__typename")}
/>
);
};
export default Json;