File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const filterHooks = (data: any[]) => {
34
34
* @method maked3Tree :Creates a new D3 Tree
35
35
*/
36
36
37
- function History ( props ) {
37
+ export default function History ( props ) {
38
38
let { hierarchy } = props ;
39
39
console . log ( 'hierarchy is' , hierarchy ) ;
40
40
let root = JSON . parse ( JSON . stringify ( hierarchy ) ) ;
@@ -257,5 +257,3 @@ function History(props) {
257
257
</ >
258
258
) ;
259
259
}
260
-
261
- export { History , Legendary } ;
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ import AtomsRelationship from './AtomsRelationship.jsx';
18
18
import Example from './AtomsRelationship.jsx' ;
19
19
import { ParentSize } from '@visx/responsive' ;
20
20
import { Console } from 'console' ;
21
- import { History } from './History' ;
21
+ // import { History } from './History';
22
22
import Legendary from './legend' ;
23
23
24
- // const History = require('./History');
24
+ const History = require ( './History' ) . default ;
25
25
26
26
const ErrorHandler = require ( './ErrorHandler' ) . default ;
27
27
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default function Legendary({ events = false }: { events?: boolean }) {
48
48
.legends {
49
49
font-family: arial;
50
50
font-weight: 900;
51
- background-color: black ;
51
+ background-color: ${ 242529 } ;
52
52
border-radius: 14px;
53
53
padding: 24px 24px 24px 32px;
54
54
overflow-y: auto;
You can’t perform that action at this time.
0 commit comments