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

#1874 cosmetics

parent 781aca2a
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ import { connect } from 'react-redux';
import { withStyles } from '@material-ui/core';
import { withTranslation } from 'react-i18next';
import { withPlugins } from '../extend';
import { getCompanionWindowsOfWindow, getCompanionAreaVisibility, getWindow } from '../state/selectors/windows';
import { getCompanionWindowsOfWindow, getCompanionAreaVisibility, getWindow } from '../state/selectors';
import * as actions from '../state/actions';
import { CompanionArea } from '../components/CompanionArea';
......
......@@ -2,7 +2,7 @@ import { compose } from 'redux';
import { connect } from 'react-redux';
import { withTranslation } from 'react-i18next';
import { withPlugins } from '../extend';
import ErrorDialog from '../components/ErrorDialog';
import { ErrorDialog } from '../components/ErrorDialog';
import * as actions from '../state/actions';
/**
......
......@@ -7,7 +7,7 @@ import {
getManifest,
getManifestTitle, getManifestThumbnail, getManifestCanvases,
getManifestLogo, getManifestProvider,
} from '../state/selectors/manifests';
} from '../state/selectors';
import * as actions from '../state/actions';
import { ManifestListItem } from '../components/ManifestListItem';
......
......@@ -2,7 +2,7 @@ import { compose } from 'redux';
import { connect } from 'react-redux';
import { withTranslation } from 'react-i18next';
import { withPlugins } from '../extend';
import WorkspaceImport from '../components/WorkspaceImport';
import { WorkspaceImport } from '../components/WorkspaceImport';
import * as actions from '../state/actions';
/**
......
......@@ -82,10 +82,6 @@ export const windowsReducer = (state = {}, action) => {
y: action.payload.size.y,
},
};
case ActionTypes.NEXT_CANVAS:
return setCanvasIndex(state, action.windowId, currentIndex => currentIndex + 1);
case ActionTypes.PREVIOUS_CANVAS:
return setCanvasIndex(state, action.windowId, currentIndex => currentIndex - 1);
case ActionTypes.SET_CANVAS:
return setCanvasIndex(state, action.windowId, currentIndex => action.canvasIndex);
case ActionTypes.ADD_COMPANION_WINDOW:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment