diff --git a/src/components/library/library.jsx b/src/components/library/library.jsx
index 724cdd3af..e9996d4f2 100644
--- a/src/components/library/library.jsx
+++ b/src/components/library/library.jsx
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
import React from 'react';
import LibraryItem from '../library-item/library-item.jsx';
-import ModalComponent from '../modal/modal.jsx';
+import Modal from '../../containers/modal.jsx';
import Divider from '../divider/divider.jsx';
import Filter from '../filter/filter.jsx';
import TagButton from '../../containers/tag-button.jsx';
@@ -85,9 +85,10 @@ class LibraryComponent extends React.Component {
}
render () {
return (
-
{(this.props.filterable || this.props.tags) && (
@@ -153,7 +154,7 @@ class LibraryComponent extends React.Component {
);
})}
-
+
);
}
}
@@ -171,6 +172,7 @@ LibraryComponent.propTypes = {
/* eslint-enable react/no-unused-prop-types, lines-around-comment */
),
filterable: PropTypes.bool,
+ id: PropTypes.string.isRequired,
onItemMouseEnter: PropTypes.func,
onItemMouseLeave: PropTypes.func,
onItemSelected: PropTypes.func,
diff --git a/src/containers/backdrop-library.jsx b/src/containers/backdrop-library.jsx
index 49c73a7c5..98604bf18 100644
--- a/src/containers/backdrop-library.jsx
+++ b/src/containers/backdrop-library.jsx
@@ -44,6 +44,7 @@ class BackdropLibrary extends React.Component {
return (
;
+ }
+}
+
+Modal.propTypes = {
+ id: PropTypes.string.isRequired,
+ onRequestClose: PropTypes.func,
+ onRequestOpen: PropTypes.func
+};
+
+export default Modal;
diff --git a/src/containers/sound-library.jsx b/src/containers/sound-library.jsx
index aa02765f7..3d68ea6f3 100644
--- a/src/containers/sound-library.jsx
+++ b/src/containers/sound-library.jsx
@@ -93,6 +93,7 @@ class SoundLibrary extends React.PureComponent {
return (