diff --git a/sceneRoute.tsx b/sceneRoute.tsx index 181e1d9..70e9e14 100644 --- a/sceneRoute.tsx +++ b/sceneRoute.tsx @@ -56,9 +56,7 @@ const Navbar = (props: { header: string }) => { ) } -export const useRouteScene = () => { - const projectName = 'ee-development-test-suite' - const sceneName = 'Examples.gltf' +export const useRouteScene = (projectName = 'ee-development-test-suite', sceneName = 'Examples.gltf') => { useLoadScene({ projectName: projectName, sceneName: sceneName }) useNetwork({ online: false }) useLoadEngineWithScene()