Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Nov 4, 2023
1 parent c04ce41 commit da9218c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/fiber/src/native/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ export function polyfills() {
case 'arrayBuffer':
return onLoad?.(data.buffer)
case 'blob':
return onLoad?.(new Blob([data.buffer]) as any)
// @ts-ignore
return onLoad?.(new Blob([data.buffer]))
// case 'document':
case 'json':
return onLoad?.(JSON.parse(THREE.LoaderUtils.decodeText(data)))
Expand Down

0 comments on commit da9218c

Please sign in to comment.