diff --git a/web/ASC.Web.Components/src/components/error-container/index.js b/web/ASC.Web.Components/src/components/error-container/index.js index 024bd85e63..b1f5fb3478 100644 --- a/web/ASC.Web.Components/src/components/error-container/index.js +++ b/web/ASC.Web.Components/src/components/error-container/index.js @@ -1,5 +1,6 @@ import React from 'react'; import { Container } from 'reactstrap'; +import PropTypes from "prop-types"; import styled from 'styled-components'; const ErrorFrame = styled(Container)` @@ -49,6 +50,8 @@ const ErrorContainer = ({children}) => { ); }; - +ErrorContainer.propTypes = { + children: PropTypes.any + }; export default ErrorContainer; \ No newline at end of file