Skip to content

Commit 8c357ef

Browse files
committed
fixing import bug
1 parent daae476 commit 8c357ef

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { makeStyles } from '@material-ui/core/styles';
1313
import Select from '@material-ui/core/Select';
1414
import MenuItem from '@material-ui/core/MenuItem';
1515
import FormControl from '@material-ui/core/FormControl';
16-
import { onHover, onHoverExit, deleteSeries, setCurrentTabInApp } from '../../actions/actions';
16+
import { onHover, onHoverExit, deleteSeries, setCurrentTabInApp } from '../../../actions/actions';
1717
import { useStoreContext } from '../../store';
1818

1919
/* TYPESCRIPT */
@@ -53,7 +53,7 @@ interface BarGraphComparisonProps {
5353
setSeries: () => void,
5454
series: unknown,
5555
setAction: () => void,
56-
}
56+
}
5757

5858
/* DEFAULTS */
5959
const margin = {
@@ -293,7 +293,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
293293
</div>
294294

295295
<svg ref={containerRef} width={width} height={height}>
296-
{}
296+
{ }
297297
<rect
298298
x={0}
299299
y={0}
@@ -341,8 +341,8 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
341341
height={bar.height === 0 ? null : bar.height}
342342
width={bar.width}
343343
fill={bar.color}
344-
/* TIP TOOL EVENT HANDLERS */
345-
// Hides tool tip once cursor moves off the current rect
344+
/* TIP TOOL EVENT HANDLERS */
345+
// Hides tool tip once cursor moves off the current rect
346346
onMouseLeave={() => {
347347
dispatch(
348348
onHoverExit(data.componentData[bar.key].rtid),
@@ -351,7 +351,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
351351
}, 300)),
352352
);
353353
}}
354-
// Cursor position in window updates position of the tool tip
354+
// Cursor position in window updates position of the tool tip
355355
onMouseMove={event => {
356356
dispatch(onHover(data.componentData[bar.key].rtid));
357357
if (tooltipTimeout) clearTimeout(tooltipTimeout);
@@ -399,8 +399,8 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
399399
height={bar.height === 0 ? null : bar.height}
400400
width={bar.width}
401401
fill={bar.color}
402-
/* TIP TOOL EVENT HANDLERS */
403-
// Hides tool tip once cursor moves off the current rect
402+
/* TIP TOOL EVENT HANDLERS */
403+
// Hides tool tip once cursor moves off the current rect
404404
onMouseLeave={() => {
405405
dispatch(
406406
onHoverExit(data.componentData[bar.key].rtid),
@@ -409,7 +409,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): unknown => {
409409
}, 300)),
410410
);
411411
}}
412-
// Cursor position in window updates position of the tool tip
412+
// Cursor position in window updates position of the tool tip
413413
onMouseMove={event => {
414414
dispatch(onHover(data.componentData[bar.key].rtid));
415415
if (tooltipTimeout) clearTimeout(tooltipTimeout);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { makeStyles } from '@material-ui/core/styles';
1313
import Select from '@material-ui/core/Select';
1414
import MenuItem from '@material-ui/core/MenuItem';
1515
import FormControl from '@material-ui/core/FormControl';
16-
import { deleteSeries, setCurrentTabInApp } from '../actions/actions';
16+
import { deleteSeries, setCurrentTabInApp } from '../../../actions/actions';
1717
import { useStoreContext } from '../store';
1818

1919
/* TYPESCRIPT */

0 commit comments

Comments
 (0)