Skip to content

Commit 722074d

Browse files
committed
removed argument from ErrorContainer, added typecheck
1 parent f735c41 commit 722074d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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/Loader';
55
import ErrorMsg from '../components/ErrorMsg';
66
import { useStoreContext } from '../store';
77

8-
function ErrorContainer(props): JSX.Element {
8+
function ErrorContainer(): any {
99
const [store, dispatch] = useStoreContext();
1010
const { tabs, currentTitle, currentTab } = store;
1111
// hooks for error checks

0 commit comments

Comments
 (0)