File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable react/require-default-props */
2+ /* eslint-disable @typescript-eslint/no-explicit-any */
3+ /* eslint-disable react/no-unused-prop-types */
14import React from 'react' ;
25import { changeView , changeSlider } from '../actions/actions' ;
36
@@ -15,7 +18,7 @@ interface ActionProps {
1518 displayName : string ;
1619 componentName : string ;
1720 componentData : { actualDuration : number } | undefined ;
18- state ?: Record < string , unknown > ;
21+ state ?: Record < string , unknown > ;
1922 viewIndex : number ;
2023 handleOnkeyDown : ( e : any , i : number ) => void ;
2124}
Original file line number Diff line number Diff line change 1+ /* eslint-disable max-len */
2+ /* eslint-disable @typescript-eslint/no-explicit-any */
3+ /* eslint-disable @typescript-eslint/ban-types */
4+ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
5+ /* eslint-disable react/require-default-props */
16import React from 'react' ;
27import { diff , formatters } from 'jsondiffpatch' ;
38import ReactHtmlParser from 'react-html-parser' ;
49import { useStoreContext } from '../store' ;
510
611interface DiffProps {
712 snapshot : { state ?:Record < string , unknown > } ;
8- show ?: boolean | undefined ;
13+ show ?: boolean | undefined ;
914}
1015/**
1116 * Displays tree showing specific two versions of tree
Original file line number Diff line number Diff line change 1+ /* eslint-disable @typescript-eslint/ban-types */
2+ /* eslint-disable @typescript-eslint/no-explicit-any */
3+ /* eslint-disable max-len */
14import React , { useEffect } from 'react' ;
25import HeadContainer from './HeadContainer' ;
36import ActionContainer from './ActionContainer' ;
@@ -84,8 +87,7 @@ function MainContainer(): any {
8487 // if viewIndex is -1, then use the sliderIndex instead
8588 const snapshotView = viewIndex === - 1 ? snapshots [ sliderIndex ] : snapshots [ viewIndex ] ;
8689 // gabi :: cleannign hierarchy and snapshotView from stateless data
87- const statelessCleaning = (
88- obj :{ name ?:string ; componentData ?:object ; state ?:string | any ; stateSnaphot ?:object ; children ?:any [ ] ; } ) => {
90+ const statelessCleaning = ( obj :{ name ?:string ; componentData ?:object ; state ?:string | any ; stateSnaphot ?:object ; children ?:any [ ] ; } ) => {
8991 const newObj = { ...obj } ;
9092 if ( newObj . name === 'nameless' ) {
9193 delete newObj . name ;
You can’t perform that action at this time.
0 commit comments