#
luxiaotao1123
2024-10-09 f4d50b49b828b9722d6e6cd63e7bdacf5cf05bea
zy-acs-flow/src/page/dashboard/Dashboard.jsx
@@ -1,15 +1,20 @@
import React, { useState, useRef, useEffect, useMemo } from "react";
import {
    useCheckAuth,
    useTranslate,
} from "react-admin";
import MapPage from "../../map/MapPage";
import Player from "../../map/player";
const Dashboard = () => {
    const translate = useTranslate();
    const mapRef = React.useRef();
    useEffect(() => {
        // let player = new Player(mapRef.current)
    }, [])
    return (
        <>
            <h1>{translate('hello')}</h1>
            <MapPage />
            {/* <div ref={mapRef} ></div> */}
        </>
    )
}