diff --git a/src/hooks/useAsset.ts b/src/hooks/useAsset.ts index 9e1cc160..248fd263 100644 --- a/src/hooks/useAsset.ts +++ b/src/hooks/useAsset.ts @@ -18,7 +18,7 @@ export function useAsset( /** @description Asset options. */ options: (UnresolvedAsset & AssetRetryOptions) | string, /** @description A function to be called when the asset loader reports loading progress. */ - onProgress: ProgressCallback, + onProgress?: ProgressCallback, ) { if (typeof window === 'undefined')