Skip to content

Commit

Permalink
Move error related files into features folder
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelfangjw committed Jun 19, 2021
1 parent 617ec70 commit f645149
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, ErrorInfo, ReactNode } from 'react';

import getSicpError, { SicpErrorType } from './subcomponents/SicpErrors';
import getSicpError, { SicpErrorType } from './SicpErrors';

type Props = {
children: ReactNode;
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/pages/sicp/Sicp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import Constants from 'src/commons/utils/Constants';
import { resetWorkspace, toggleUsingSubst } from 'src/commons/workspace/WorkspaceActions';
import { parseArr, ParseJsonError } from 'src/features/sicp/parser/ParseJson';

import SicpErrorBoundary from './SicpErrorBoundary';
import getSicpError, { SicpErrorType } from './subcomponents/SicpErrors';
import SicpErrorBoundary from '../../features/sicp/errors/SicpErrorBoundary';
import getSicpError, { SicpErrorType } from '../../features/sicp/errors/SicpErrors';
import SicpIndexPage from './subcomponents/SicpIndexPage';

type SicpProps = RouteComponentProps<{}>;
Expand Down

0 comments on commit f645149

Please sign in to comment.