Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Jun 4, 2024
1 parent 2b22e0e commit cf21390
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/LODs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { VisibleComponent } from '@etherealengine/spatial/src/renderer/component
import { TransformComponent } from '@etherealengine/spatial/src/transform/components/TransformComponent'

import config from '@etherealengine/common/src/config'
import { StaticResourceType } from '@etherealengine/common/src/schemas/media/static-resource.schema'
import { Entity } from '@etherealengine/ecs/src/Entity'
import { GroupComponent, addObjectToGroup } from '@etherealengine/spatial/src/renderer/components/GroupComponent'
import { Template } from './utils/template'
Expand Down Expand Up @@ -133,7 +132,7 @@ const LODsDND = () => {
variants: true
})

const result = (await uploadPromise.promise) as StaticResourceType[]
const result = await uploadPromise.promise

setVariant(entity, result)

Expand Down

0 comments on commit cf21390

Please sign in to comment.