Skip to content

Commit 15c40fd

Browse files
Merge branch 'dev' of https://github.com/oslabs-beta/reactime into dev
2 parents bfd2d3c + fc51726 commit 15c40fd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/app/components/StateRoute/PerformanceVisx/BarGraph.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ const BarGraph = (props: BarGraphProps): JSX.Element => {
6363
});
6464

6565
const keys = Object.keys(data.componentData);
66-
const getSnapshotId = (d: snapshot) => d.snapshotId; // data accessor (used to generate scales) and formatter (add units for on hover box). d comes from data.barstack post filtered data
67-
6866
const getSnapshotId = (d: snapshot) => d.snapshotId; // data accessor (used to generate scales) and formatter (add units for on hover box). d comes from data.barstack post filtered data
6967
const formatSnapshotId = (id) => `Snapshot ID: ${id}`; // returns snapshot id when invoked in tooltip section
7068
const formatRenderTime = (time) => `${time} ms `; // returns render time when invoked in tooltip section

src/app/components/StateRoute/PerformanceVisx/BarGraphComparison.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { scaleBand, scaleLinear, scaleOrdinal } from '@visx/scale';
1010
import { useTooltip, useTooltipInPortal, defaultStyles } from '@visx/tooltip';
1111
import { Text } from '@visx/text';
1212
import { schemeTableau10 } from 'd3-scale-chromatic';
13-
import { styled } from '@mui/system';
1413
import Select from '@mui/material/Select';
1514
import MenuItem from '@mui/material/MenuItem';
1615
import FormControl from '@mui/material/FormControl';
@@ -207,7 +206,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
207206
: { backgroundColor: '#ff6569', color: 'black' }
208207
}
209208
>
210-
{buttonLoad ? 'Deleted' : 'Clear Series'}
209+
{buttonLoad ? 'Deleted' : 'Clear All Series'}
211210
</Button>
212211

213212
<FormControl sx={{ m: 1, minWidth: 180 }} size='small'>

0 commit comments

Comments
 (0)