File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export const isSameHost = (currentUrl: string, newUrl: string): boolean => {
9595 * HolyLoader is a React component that provides a customizable top-loading progress bar.
9696 *
9797 * @param {HolyLoaderProps } props The properties for configuring the HolyLoader.
98- * @returns {JSX.Element } The styles element to be rendered.
98+ * @returns {null }
9999 */
100100const HolyLoader = ( {
101101 color = DEFAULTS . color ,
@@ -105,7 +105,7 @@ const HolyLoader = ({
105105 speed = DEFAULTS . speed ,
106106 zIndex = DEFAULTS . zIndex ,
107107 boxShadow,
108- } : HolyLoaderProps ) : JSX . Element => {
108+ } : HolyLoaderProps ) : null => {
109109 React . useEffect ( ( ) => {
110110 let holyProgress : HolyProgress ;
111111
@@ -184,7 +184,7 @@ const HolyLoader = ({
184184 } ;
185185 } , [ ] ) ;
186186
187- return < > </ > ;
187+ return null ;
188188} ;
189189
190190export default HolyLoader ;
You can’t perform that action at this time.
0 commit comments