Skip to content

Commit f2e1f38

Browse files
committed
code cleanup
1 parent ce6f7af commit f2e1f38

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

app/components/AnalyzeComponent.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
DEVICES,
1919
MUSE_CHANNELS,
2020
EMOTIV_CHANNELS,
21-
KERNEL_STATUS,
2221
EXPERIMENTS,
2322
} from '../constants/constants';
2423
import {
@@ -36,7 +35,6 @@ import SecondaryNavComponent from './SecondaryNavComponent';
3635
import ClickableHeadDiagramSVG from './svgs/ClickableHeadDiagramSVG';
3736
import PyodidePlotWidget from './PyodidePlotWidget';
3837
import { HelpButton } from './CollectComponent/HelpSidebar';
39-
import { Kernel } from '../constants/interfaces';
4038
import { PyodideActions } from '../actions/pyodideActions';
4139

4240
const ANALYZE_STEPS = {
@@ -54,8 +52,6 @@ interface Props {
5452
type: EXPERIMENTS;
5553
deviceType: DEVICES;
5654
isEEGEnabled: boolean;
57-
kernel: Kernel;
58-
kernelStatus: KERNEL_STATUS;
5955
mainChannel: any;
6056
epochsInfo: Array<{
6157
[key: string]: number | string;

app/components/HomeComponent/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default class Home extends Component<Props, State> {
9292
}
9393

9494
componentDidMount() {
95-
this.props.PyodideActions.launch();
95+
this.props.PyodideActions.Launch();
9696
this.setState({ recentWorkspaces: readWorkspaces() });
9797
}
9898

app/utils/filesystem/read.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,3 @@ export const readFiles = (filePathsArray) => {
88
return file;
99
});
1010
};
11-
12-
// -------------------------------------------
13-
// Helper methods
14-
15-
const formatFilePath = (filePath: string) =>
16-
`"${filePath.replace(/\\/g, '/')}"`;

0 commit comments

Comments
 (0)