Skip to content

Commit

Permalink
chore(useGLTF): fix linter errors (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
andretchen0 authored Jan 12, 2024
1 parent 8fac5fa commit 9f26650
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/loaders/useGLTF/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ export async function useGLTF<T extends string | string[]>(
options: GLTFLoaderOptions = {
draco: false,
},
extendLoader?: (loader: GLTFLoader) => void
extendLoader?: (loader: GLTFLoader) => void,
): Promise<T extends string[] ? GLTFResult[] : GLTFResult> {
return await useLoader(
GLTFLoader,
path,
setExtensions(options, extendLoader)
);
setExtensions(options, extendLoader),
)
}

0 comments on commit 9f26650

Please sign in to comment.