diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 69c7139883..6e1860e06a 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -52,6 +52,7 @@ import NoteEditorOverlay from 'src/dashboards/components/NoteEditorOverlay' import OrgTemplatesIndex from 'src/organizations/containers/OrgTemplatesIndex' import TemplateExportOverlay from 'src/templates/components/TemplateExportOverlay' import TemplateImportOverlay from 'src/templates/components/TemplateImportOverlay' +import CreateOrgOverlay from './organizations/components/CreateOrgOverlay' import OnboardingWizardPage from 'src/onboarding/containers/OnboardingWizardPage' @@ -117,8 +118,19 @@ class Root extends PureComponent { + + + + + + + + void +interface OwnProps {} + +interface DispatchProps { + createOrg: typeof createOrg } +type Props = OwnProps & DispatchProps & WithRouterProps + interface State { org: Organization nameInputStatus: ComponentStatus errorMessage: string } -export default class CreateOrgOverlay extends PureComponent { +class CreateOrgOverlay extends PureComponent { constructor(props) { super(props) this.state = { @@ -38,41 +45,42 @@ export default class CreateOrgOverlay extends PureComponent { } public render() { - const {onCloseModal} = this.props const {org, nameInputStatus, errorMessage} = this.state return ( - - -
- - - + + + + + + + + + +