From 2e507133b1162766e8cbab17e4e3b424520a7696 Mon Sep 17 00:00:00 2001 From: Peter Velkov Date: Mon, 4 Apr 2022 21:29:29 +0300 Subject: [PATCH] Remove FullscreenLoadingIndicator class description Other components do not use class description Removed to be uniform with the rest of our components --- src/components/FullscreenLoadingIndicator.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/FullscreenLoadingIndicator.js b/src/components/FullscreenLoadingIndicator.js index b5356a4ac123..4bf55d7a3921 100644 --- a/src/components/FullscreenLoadingIndicator.js +++ b/src/components/FullscreenLoadingIndicator.js @@ -27,12 +27,6 @@ const defaultProps = { logDetail: null, }; -/** - * Loading indication component intended to cover the whole page, while the page prepares for initial render - * - * @param {Object} props - * @returns {JSX.Element} - */ class FullScreenLoadingIndicator extends React.Component { componentDidMount() { if (!this.props.logDetail) { @@ -40,7 +34,7 @@ class FullScreenLoadingIndicator extends React.Component { } if (!this.props.logDetail.name) { - throw new Error('A name should be set to distinct logged messages. Please check the `logDetails` prop'); + throw new Error('A name should be set to distinct logged messages. Please check the `logDetails` prop.'); } Log.info('[LoadingIndicator] Became visible', false, this.props.logDetail);