Skip to content

Commit

Permalink
Simplify structure
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqrd committed Jan 18, 2019
1 parent 4659753 commit ca73deb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/StageEditor/Interfaces/NameGenerator.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
Name,
NodeType,
NameGeneratorFormWithQuickAdd,
FormWithQuickAdd,
NameGeneratorPrompts,
NodePanels,
} from '../sections';
Expand All @@ -10,7 +10,7 @@ const NameGenerator = {
sections: [
Name,
NodeType,
NameGeneratorFormWithQuickAdd,
FormWithQuickAdd,
NameGeneratorPrompts,
NodePanels,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { connect } from 'react-redux';
import { compose } from 'recompose';
import cx from 'classnames';
import { Field, formValueSelector } from 'redux-form';
import Guidance from '../../../Guidance';
import { Toggle } from '../../../../ui/components/Fields';
import Form from '../Form';
import Guidance from '../../Guidance';
import { Toggle } from '../../../ui/components/Fields';
import Form from './Form';

class FormWithQuickAdd extends PureComponent {
render() {
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/StageEditor/sections/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export { default as Title } from './Title';
export { default as Name } from './Name';
export { default as NodeType } from './NodeType';
export { default as Form } from './Form';
export { default as NameGeneratorFormWithQuickAdd } from './NameGeneratorFormWithQuickAdd';
export { default as FormWithQuickAdd } from './FormWithQuickAdd';
export { default as NameGeneratorPrompts } from './NameGeneratorPrompts';
export { default as NameGeneratorListPrompts } from './NameGeneratorListPrompts';
export { default as NameGeneratorAutoCompletePrompts } from './NameGeneratorAutoCompletePrompts';
Expand Down

0 comments on commit ca73deb

Please sign in to comment.