From a49e892238e2754cc6534740879c2e653b069e8a Mon Sep 17 00:00:00 2001
From: Jack Reed <phillipjreed@gmail.com>
Date: Thu, 23 Jul 2020 17:27:33 -0600
Subject: [PATCH] Fix linting errors

---
 __tests__/src/sagas/windows.test.js        |  2 +-
 src/components/CollectionInfo.js           |  1 -
 src/components/WindowSideBarCanvasPanel.js | 10 ++--------
 src/components/WorkspaceMosaic.js          |  1 -
 src/containers/CollectionDialog.js         |  1 -
 5 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/__tests__/src/sagas/windows.test.js b/__tests__/src/sagas/windows.test.js
index 6cc74e617..e900713f1 100644
--- a/__tests__/src/sagas/windows.test.js
+++ b/__tests__/src/sagas/windows.test.js
@@ -3,7 +3,7 @@ import { expectSaga } from 'redux-saga-test-plan';
 import { Utils } from 'manifesto.js/dist-esmodule/Utils';
 
 import ActionTypes from '../../../src/state/actions/action-types';
-import { receiveManifest, setCanvas } from '../../../src/state/actions';
+import { setCanvas } from '../../../src/state/actions';
 import {
   getManifests, getManifestoInstance,
   getManifestSearchService, getCompanionWindowIdsForPosition,
diff --git a/src/components/CollectionInfo.js b/src/components/CollectionInfo.js
index 5c99cca8b..15670b1c9 100644
--- a/src/components/CollectionInfo.js
+++ b/src/components/CollectionInfo.js
@@ -5,7 +5,6 @@ import Typography from '@material-ui/core/Typography';
 import ViewListIcon from '@material-ui/icons/ViewListSharp';
 import CollapsibleSection from '../containers/CollapsibleSection';
 
-
 /**
  * ManifestInfo
  */
diff --git a/src/components/WindowSideBarCanvasPanel.js b/src/components/WindowSideBarCanvasPanel.js
index 54acf7d41..0100d965d 100644
--- a/src/components/WindowSideBarCanvasPanel.js
+++ b/src/components/WindowSideBarCanvasPanel.js
@@ -9,12 +9,6 @@ import ItemListIcon from '@material-ui/icons/ReorderSharp';
 import TocIcon from '@material-ui/icons/SortSharp';
 import ThumbnailListIcon from '@material-ui/icons/ViewListSharp';
 import Typography from '@material-ui/core/Typography';
-import ListItem from '@material-ui/core/ListItem';
-import ListItemIcon from '@material-ui/core/ListItemIcon';
-import ListItemText from '@material-ui/core/ListItemText';
-import MenuItem from '@material-ui/core/MenuItem';
-import FormControl from '@material-ui/core/FormControl';
-import Select from '@material-ui/core/Select';
 import ArrowForwardIcon from '@material-ui/icons/ArrowForwardSharp';
 import CompanionWindow from '../containers/CompanionWindow';
 import SidebarIndexList from '../containers/SidebarIndexList';
@@ -129,8 +123,8 @@ WindowSideBarCanvasPanel.propTypes = {
   classes: PropTypes.objectOf(PropTypes.string).isRequired,
   collection: PropTypes.object, // eslint-disable-line react/forbid-prop-types
   id: PropTypes.string.isRequired,
-  showToc: PropTypes.bool,
   showMultipart: PropTypes.func.isRequired,
+  showToc: PropTypes.bool,
   t: PropTypes.func.isRequired,
   updateVariant: PropTypes.func.isRequired,
   variant: PropTypes.oneOf(['item', 'thumbnail', 'tableOfContents']).isRequired,
@@ -138,6 +132,6 @@ WindowSideBarCanvasPanel.propTypes = {
 };
 
 WindowSideBarCanvasPanel.defaultProps = {
-  showToc: false,
   collection: null,
+  showToc: false,
 };
diff --git a/src/components/WorkspaceMosaic.js b/src/components/WorkspaceMosaic.js
index 749aef84b..f065ac600 100644
--- a/src/components/WorkspaceMosaic.js
+++ b/src/components/WorkspaceMosaic.js
@@ -5,7 +5,6 @@ import {
 } from 'react-mosaic-component';
 import 'react-mosaic-component/react-mosaic-component.css';
 import difference from 'lodash/difference';
-import toPairs from 'lodash/toPairs';
 import isEqual from 'lodash/isEqual';
 import classNames from 'classnames';
 import MosaicRenderPreview from '../containers/MosaicRenderPreview';
diff --git a/src/containers/CollectionDialog.js b/src/containers/CollectionDialog.js
index 2e46cb164..62b552ff6 100644
--- a/src/containers/CollectionDialog.js
+++ b/src/containers/CollectionDialog.js
@@ -74,7 +74,6 @@ const styles = theme => ({
   },
 });
 
-
 const enhance = compose(
   withTranslation(),
   withStyles(styles),
-- 
GitLab