|
@@ -30,7 +30,7 @@ import DropCoins from "@components/DropCoins";
|
|
|
import {toast} from "react-toastify";
|
|
import {toast} from "react-toastify";
|
|
|
const PageNotFound = lazy(() => import('@pages/PageNotFound'));
|
|
const PageNotFound = lazy(() => import('@pages/PageNotFound'));
|
|
|
|
|
|
|
|
-const Layout=()=>{
|
|
|
|
|
|
|
+const Layout=({...props})=>{
|
|
|
const appRef = useRef(null);
|
|
const appRef = useRef(null);
|
|
|
const msgBoxRef=useRef(null);
|
|
const msgBoxRef=useRef(null);
|
|
|
const {isMobile,isShowWheel, setIsShowWheel,isShowWDPassBox,setIsShowWDPassBox,isOpenSub} = useThemeProvider();
|
|
const {isMobile,isShowWheel, setIsShowWheel,isShowWDPassBox,setIsShowWDPassBox,isOpenSub} = useThemeProvider();
|
|
@@ -107,6 +107,7 @@ const Layout=()=>{
|
|
|
}}/>
|
|
}}/>
|
|
|
<WHallWheel open={isShowWheel} onClose={()=>{
|
|
<WHallWheel open={isShowWheel} onClose={()=>{
|
|
|
setIsShowWheel(false);
|
|
setIsShowWheel(false);
|
|
|
|
|
+ if (props&&props.onCloseHallWheel)props.onCloseHallWheel()
|
|
|
}}></WHallWheel>
|
|
}}></WHallWheel>
|
|
|
</>
|
|
</>
|
|
|
)
|
|
)
|