Skip to content

Commit

Permalink
fix: Updated onModelError callback signature to match hook
Browse files Browse the repository at this point in the history
  • Loading branch information
brianzinn committed Jun 6, 2024
1 parent 92f6da0 commit e10074f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-babylonjs/src/customComponents/Model.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export type ModelProps = {
reportProgress?: boolean
scaleToDimension?: number
onModelLoaded?: (model: ILoadedModel) => void
onModelError?: (model: ILoadedModel) => void
onModelError?: (message: string, exception?: any) => void
onLoadProgress?: (event: ISceneLoaderProgressEvent) => void
onCreated?: (rootMesh: AbstractMesh) => void
} & FiberAbstractMeshProps &
Expand Down

0 comments on commit e10074f

Please sign in to comment.