|
|
@@ -5,7 +5,8 @@ import Spring from '@components/Spring';
|
|
|
// assets
|
|
|
// import ball from '@assets/logo.json';
|
|
|
import logo from '@assets/logo.json';
|
|
|
-import {useEffect, useRef} from "react";
|
|
|
+import React, {useEffect, useRef} from "react";
|
|
|
+import {CircularProgress} from "@mui/material";
|
|
|
|
|
|
const LoadingScreen = ({...props}) => {
|
|
|
const loadRef = useRef(null);
|
|
|
@@ -19,7 +20,8 @@ const LoadingScreen = ({...props}) => {
|
|
|
return (
|
|
|
<Spring {...props} className="d-flex align-items-center justify-content-center flex-1 w-100 h-100">
|
|
|
{/*<Lottie animationData={ball} />*/}
|
|
|
- <Lottie animationData={logo} lottieRef={loadRef}/>
|
|
|
+ {/*<Lottie animationData={logo} lottieRef={loadRef}/>*/}
|
|
|
+ <CircularProgress color="success" size={40} thickness={5}/>
|
|
|
</Spring>
|
|
|
)
|
|
|
}
|