Skip to content
Snippets Groups Projects
Commit 5c97cfe9 authored by Chris Beer's avatar Chris Beer
Browse files

Update eslint dependencies

parent 4560bb2e
No related branches found
No related tags found
No related merge requests found
Showing
with 5 additions and 23 deletions
......@@ -80,7 +80,6 @@ export class SearchPanelControls extends Component {
this.setState({ suggestions: json.terms });
}
/** */
submitSearch(event) {
const {
......
......@@ -4,7 +4,6 @@ import classNames from 'classnames';
import IIIFThumbnail from '../containers/IIIFThumbnail';
import ns from '../config/css-ns';
/** */
export class ThumbnailCanvasGrouping extends PureComponent {
/** */
......
......@@ -12,7 +12,6 @@ import ErrorContent from '../containers/ErrorContent';
import WindowAuthenticationControl from '../containers/WindowAuthenticationControl';
import { PluginHook } from './PluginHook';
/**
* Represents a Window in the mirador workspace
* @param {object} window
......@@ -85,7 +84,8 @@ export class Window extends Component {
id={windowId}
className={
cn(classes.window, ns('window'),
maximized ? classes.maximized : null)}
maximized ? classes.maximized : null)
}
aria-label={t('window', { label })}
>
{this.wrappedTopBar()}
......
......@@ -103,8 +103,7 @@ export class WindowAuthenticationControl extends Component {
{ t('continue') }
</Typography>
)
: confirmButton
}
: confirmButton}
</span>
</Button>
{
......
......@@ -40,7 +40,8 @@ export class WindowCanvasNavigationControls extends Component {
classes.canvasNav,
this.canvasNavControlsAreStacked() ? ns('canvas-nav-stacked') : null,
this.canvasNavControlsAreStacked() ? classes.canvasNavStacked : null,
)}
)
}
elevation={0}
>
<ZoomControls
......@@ -57,7 +58,6 @@ export class WindowCanvasNavigationControls extends Component {
}
}
WindowCanvasNavigationControls.propTypes = {
classes: PropTypes.objectOf(PropTypes.string),
size: PropTypes.shape({ width: PropTypes.number }).isRequired,
......
......@@ -7,7 +7,6 @@ import ManifestInfo from '../containers/ManifestInfo';
import ManifestRelatedLinks from '../containers/ManifestRelatedLinks';
import ns from '../config/css-ns';
/**
* WindowSideBarInfoPanel
*/
......
......@@ -15,7 +15,6 @@ import WindowMaxIcon from './icons/WindowMaxIcon';
import WindowMinIcon from './icons/WindowMinIcon';
import ns from '../config/css-ns';
/**
* WindowTopBar
*/
......
......@@ -99,7 +99,6 @@ WindowTopBarPluginMenu.propTypes = {
windowId: PropTypes.string.isRequired,
};
WindowTopBarPluginMenu.defaultProps = {
classes: {},
menuIcon: <MoreVertIcon />,
......
......@@ -47,7 +47,6 @@ export class WorkspaceArea extends Component {
}
}
WorkspaceArea.propTypes = {
classes: PropTypes.objectOf(PropTypes.string).isRequired,
controlPanelVariant: PropTypes.string,
......
......@@ -44,7 +44,6 @@ export class WorkspaceExport extends Component {
return JSON.stringify(exportableState, null, 2);
}
/**
* render
* @return
......
......@@ -4,7 +4,6 @@ import { withPlugins } from '../extend/withPlugins';
import * as actions from '../state/actions';
import { AccessTokenSender } from '../components/AccessTokenSender';
/**
* mapStateToProps - to hook up connect
* @memberof App
......
......@@ -59,5 +59,4 @@ const enhance = compose(
withPlugins('AnnotationsOverlay'),
);
export default enhance(AnnotationsOverlay);
......@@ -5,7 +5,6 @@ import * as actions from '../state/actions';
import { getTheme } from '../state/selectors';
import { AppProviders } from '../components/AppProviders';
/**
* mapStateToProps - to hook up connect
* @memberof App
......
......@@ -4,7 +4,6 @@ import { withPlugins } from '../extend/withPlugins';
import * as actions from '../state/actions';
import { AuthenticationSender } from '../components/AuthenticationSender';
/**
* mapStateToProps - to hook up connect
* @memberof App
......
......@@ -48,7 +48,6 @@ const styles = theme => ({
},
});
const enhance = compose(
withTranslation(),
withStyles(styles),
......
......@@ -23,7 +23,6 @@ const mapDispatchToProps = (dispatch, { afterSelect }) => ({
},
});
export default compose(
connect(mapStateToProps, mapDispatchToProps),
withPlugins('LanguageSettings'),
......
......@@ -71,5 +71,4 @@ const enhance = compose(
withPlugins('OpenSeadragonViewer'),
);
export default enhance(OpenSeadragonViewer);
......@@ -13,7 +13,6 @@ import {
} from '../state/selectors';
import * as actions from '../state/actions';
/**
* mapStateToProps - to hook up connect
*/
......
......@@ -56,7 +56,6 @@ const styles = theme => ({
},
});
const enhance = compose(
withStyles(styles),
withTranslation(),
......
......@@ -10,7 +10,6 @@ import {
getWorkspaceType, getWindowDraggability, getWindowViewType, getManifestError,
} from '../state/selectors';
/**
* mapStateToProps - used to hook up connect to action creators
* @memberof Window
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment