refactor: remove references to CommunityTemplatesImportOverlay in TemplatesIndex
parent
45821caca8
commit
a517197fe6
|
@ -62,10 +62,6 @@ class UnconnectedTemplateImportOverlay extends PureComponent<Props> {
|
|||
}
|
||||
|
||||
public render() {
|
||||
if (!this.props.flags.communityTemplates) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<CommunityTemplateInstallerOverlay
|
||||
onDismissOverlay={this.onDismiss}
|
||||
|
|
|
@ -12,7 +12,6 @@ import TemplatesPage from 'src/templates/components/TemplatesPage'
|
|||
import GetResources from 'src/resources/components/GetResources'
|
||||
import TemplateImportOverlay from 'src/templates/components/TemplateImportOverlay'
|
||||
import TemplateExportOverlay from 'src/templates/components/TemplateExportOverlay'
|
||||
import {CommunityTemplateImportOverlay} from 'src/templates/components/CommunityTemplateImportOverlay'
|
||||
import TemplateViewOverlay from 'src/templates/components/TemplateViewOverlay'
|
||||
import StaticTemplateViewOverlay from 'src/templates/components/StaticTemplateViewOverlay'
|
||||
|
||||
|
@ -54,10 +53,6 @@ class TemplatesIndex extends Component<Props> {
|
|||
path={`${templatesPath}/import`}
|
||||
component={TemplateImportOverlay}
|
||||
/>
|
||||
<Route
|
||||
path={`${templatesPath}/import/:templateName`}
|
||||
component={CommunityTemplateImportOverlay}
|
||||
/>
|
||||
<Route
|
||||
path={`${templatesPath}/:id/export`}
|
||||
component={TemplateExportOverlay}
|
||||
|
|
Loading…
Reference in New Issue