fix: lint

This commit is contained in:
cha0s 2021-03-29 19:41:20 -05:00
parent 745e22f47a
commit 684a3cce21

View File

@ -96,7 +96,10 @@ SoundComponent.displayName = 'SoundComponent';
SoundComponent.propTypes = { SoundComponent.propTypes = {
path: PropTypes.string, path: PropTypes.string,
resource: PropTypes.shape({}).isRequired, resource: PropTypes.shape({
src: PropTypes.string,
volume: PropTypes.number,
}).isRequired,
}; };
export default class SoundController extends JsonResourceController { export default class SoundController extends JsonResourceController {