Skip to content
Snippets Groups Projects
Commit adcacf0a authored by Glenn Fischer's avatar Glenn Fischer
Browse files

#1874: changed export to named export for WorkspaceImport and ErrorDialog

parent 1f760ee6
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ import Button from '@material-ui/core/Button'; ...@@ -8,7 +8,7 @@ import Button from '@material-ui/core/Button';
/** /**
*/ */
class ErrorDialog extends Component { export class ErrorDialog extends Component {
/** /**
* render * render
* @return * @return
...@@ -52,5 +52,3 @@ ErrorDialog.defaultProps = { ...@@ -52,5 +52,3 @@ ErrorDialog.defaultProps = {
open: false, open: false,
t: key => key, t: key => key,
}; };
export default ErrorDialog;
...@@ -8,7 +8,7 @@ import Button from '@material-ui/core/Button'; ...@@ -8,7 +8,7 @@ import Button from '@material-ui/core/Button';
/** /**
*/ */
class WorkspaceImport extends Component { export class WorkspaceImport extends Component {
/** /**
* *
* constructor * constructor
...@@ -86,5 +86,3 @@ WorkspaceImport.defaultProps = { ...@@ -86,5 +86,3 @@ WorkspaceImport.defaultProps = {
open: false, open: false,
t: key => key, t: key => key,
}; };
export default WorkspaceImport;
export * from './App'; export * from './App';
export * from './CanvasThumbnail'; export * from './CanvasThumbnail';
export * from './CompanionWindow'; export * from './CompanionWindow';
export * from './ErrorDialog';
export * from './LabelValueMetadata'; export * from './LabelValueMetadata';
export * from './LanguageSettings'; export * from './LanguageSettings';
export * from './ManifestForm'; export * from './ManifestForm';
...@@ -33,6 +34,7 @@ export * from './WorkspaceControlPanel'; ...@@ -33,6 +34,7 @@ export * from './WorkspaceControlPanel';
export * from './WorkspaceControlPanelButtons'; export * from './WorkspaceControlPanelButtons';
export * from './WorkspaceExport'; export * from './WorkspaceExport';
export * from './WorkspaceFullScreenButton'; export * from './WorkspaceFullScreenButton';
export * from './WorkspaceImport';
export * from './WorkspaceMenu'; export * from './WorkspaceMenu';
export * from './WorkspaceMenuButton'; export * from './WorkspaceMenuButton';
export * from './WorkspaceMosaic'; export * from './WorkspaceMosaic';
......
...@@ -26,6 +26,7 @@ const mapDispatchToProps = { ...@@ -26,6 +26,7 @@ const mapDispatchToProps = {
}; };
const enhance = compose( const enhance = compose(
withTranslation(),
connect(mapStateToProps, mapDispatchToProps), connect(mapStateToProps, mapDispatchToProps),
withTranslation(), withTranslation(),
withPlugins('ErrorDialog'), withPlugins('ErrorDialog'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment