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