Skip to content

Commit f09aaf6

Browse files
(verified) passing snapshots array to visx component
1 parent a8415c7 commit f09aaf6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/app/components/StateRoute.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const StateRoute = (props: StateRouteProps) => {
9191
<Example
9292
width={width}
9393
height={height}
94-
snapshots = {snapshots} />}
94+
snapshots={snapshots} />}
9595
</ParentSize>
9696

9797
// atomsComponents={snapshot.atomsComponents}
@@ -113,7 +113,11 @@ const StateRoute = (props: StateRouteProps) => {
113113
if (hierarchy) {
114114
return (
115115
<ParentSize>{({ width, height }) =>
116-
<PerformanceVisx width={width} height={height} />}
116+
<PerformanceVisx
117+
width={width}
118+
height={height}
119+
snapshots={snapshots}
120+
/>}
117121
</ParentSize>
118122

119123
// <PerfView

0 commit comments

Comments
 (0)