Skip to content

Commit b7f5430

Browse files
committed
mg fixed double imports and comment in tutorial
1 parent 9ce5085 commit b7f5430

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ import MenuItem from '@mui/material/MenuItem';
1717
import FormControl from '@mui/material/FormControl';
1818
import { useTheme } from '@mui/material/styles';
1919
import { Button } from '@mui/material';
20-
import { styled } from '@mui/system';
21-
import Select from '@mui/material/Select';
22-
import MenuItem from '@mui/material/MenuItem';
23-
import FormControl from '@mui/material/FormControl';
24-
import { useTheme } from '@mui/material/styles';
25-
import { Button } from '@mui/material';
2620
import { onHover, onHoverExit, deleteSeries, setCurrentTabInApp } from '../../../actions/actions';
2721
import { useStoreContext } from '../../../store';
2822
import {
@@ -216,6 +210,7 @@ const BarGraphComparison = (props: BarGraphComparisonProps): JSX.Element => {
216210
variant='contained'
217211
sx={{ p: 2, color: 'white' }}
218212
// type='button'
213+
>
219214
<Button
220215
variant='contained'
221216
sx={{ p: 2, color: 'white' }}

src/app/components/Tutorial.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
99
import { faQuestion } from '@fortawesome/free-solid-svg-icons';
1010
import { tutorialSaveSeriesToggle, setCurrentTabInApp } from '../actions/actions';
1111
import { TutorialProps, TutorialState, StepsObj } from '../FrontendTypes';
12+
//Must be required in. This enables compatibility with TS. If imported in, throws ts error of not rendering steps as a class component correctly.
1213
import { Button } from '@mui/material';
1314
import HelpOutlineIcon from '@mui/icons-material/HelpOutline';
14-
//Must be required in. This enables compatibility with TS. If imported in, throws ts error of not rendering steps as a class component correctly.
1515
const { Steps } = require('intro.js-react');
1616

1717
// This is the tutorial displayed when the "How to use" button is clicked

0 commit comments

Comments
 (0)