Skip to content

Commit 9e48e06

Browse files
committed
removed unused errorHandler file
1 parent b813c22 commit 9e48e06

File tree

3 files changed

+2
-28
lines changed

3 files changed

+2
-28
lines changed

src/app/components/ErrorHandling/ErrorHandler.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/app/containers/ErrorContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Loader from '../components/ErrorHandling/Loader';
55
import ErrorMsg from '../components/ErrorHandling/ErrorMsg';
66
import { useDispatch, useSelector } from 'react-redux';
77
import { MainState, RootState, ErrorContainerProps } from '../FrontendTypes';
8-
import { current } from '@reduxjs/toolkit';
8+
99
/*
1010
This is the loading screen that a user may get when first initalizing the application. This page checks:
1111

src/app/containers/MainContainer.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
setTab,
1313
deleteTab,
1414
noDev,
15-
aReactApp, // JR added 12.20.23 9.53pm
15+
aReactApp,
1616
setCurrentLocation,
1717
disconnected,
1818
endConnect,
@@ -28,10 +28,6 @@ function MainContainer(): JSX.Element {
2828
const dispatch = useDispatch();
2929

3030
const { currentTab, tabs, port }: MainState = useSelector((state: RootState) => state.main);
31-
//JR: check connection status
32-
const { connectionStatus }: MainState = useSelector((state: RootState) => state.main);
33-
34-
console.log('MainContainer connectionStatus at initialization: ', connectionStatus);
3531

3632
const [actionView, setActionView] = useState(true); // We create a local state 'actionView' and set it to true
3733

@@ -45,7 +41,6 @@ function MainContainer(): JSX.Element {
4541
const toggleElem = document.querySelector('aside'); // aside is like an added text that appears "on the side" aside some text.
4642
toggleElem.classList.toggle('no-aside'); // toggles the addition or the removal of the 'no-aside' class
4743

48-
//JR: added for collapse label
4944
const collapse = document.querySelector('.collapse');
5045
collapse.classList.toggle('hidden');
5146

0 commit comments

Comments
 (0)