Skip to content

Commit

Permalink
Remove useless wraps
Browse files Browse the repository at this point in the history
  • Loading branch information
Granipouss committed Apr 28, 2020
1 parent da7a79c commit 7bade89
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/src/pages/EnvironmentSettings/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from './EnvironmentSettings.wrap';
export { default } from './EnvironmentSettings';

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/src/pages/PagesAndScriptsSettings/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from './PagesAndScriptsSettings.wrap';
export { default } from './PagesAndScriptsSettings';
8 changes: 3 additions & 5 deletions frontend/src/pages/Project/Project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ import MessagePill from 'components/MessagePill';
import { useProjectById } from 'redux/entities/projects/hooks';
import { Container } from './Project.style';

export type OwnProps = {} & RouteComponentProps<{
projectId: string;
}>;

type Props = {
setCurrentAuditParametersId: (auditParametersId: string | null | undefined) => void;
setCurrentPageId: (pageId: string | null | undefined) => void;
setCurrentScriptId: (scriptId: string | null | undefined) => void;
setCurrentScriptStepId: (scriptStepId: string | null | undefined) => void;
} & OwnProps;
} & RouteComponentProps<{
projectId: string;
}>;

const Project: React.FunctionComponent<Props> = ({
match,
Expand Down

0 comments on commit 7bade89

Please sign in to comment.