Skip to content

Commit aa3b5a2

Browse files
committed
fixing typing issue for Kevin
1 parent e452269 commit aa3b5a2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/app/components/StateRoute.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ interface StateRouteProps {
3030
state?: string | object;
3131
stateSnaphot?: object;
3232
children?: any[];
33-
AtomsRelationship: any[];
33+
AtomsRelationship?: any[];
3434
};
3535
hierarchy: object;
3636
snapshots: [];

src/app/containers/StateContainer.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ import DiffRoute from '../components/DiffRoute';
1212
interface StateContainerProps {
1313
snapshot: Record<number,
1414
{ name?: string; componentData?: Record<string, unknown>;
15-
state?: Record<string, unknown>; stateSnaphot?: Record<string, unknown>; children?: unknown[]; }
15+
state?: Record<string, unknown>; stateSnaphot?: Record<string, unknown>; children?: unknown[];
16+
AtomsRelationship?: any[]
17+
}
1618
> ;
19+
AtomsRelationship: any[];
1720
hierarchy:Record<string, unknown>;
1821
snapshots:[];
1922
viewIndex:number;

0 commit comments

Comments
 (0)