import { Suspense } from "react"; import { frame, ohg, option } from "../constant"; import Unity from "./unity"; const getItem = async () => { return await Promise.resolve({ option, ohg, frame }); }; export default async function UnityComponent() { const { option, ohg, frame } = await getItem(); return ( ); }