Skip to content

Commit

Permalink
fix: Fix hard crash in input
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jan 24, 2024
1 parent d422fdb commit 99ccb41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export default function App(): React.ReactNode {
},
pixelFormat: 'rgb-uint8',
})
const result = actualModel.runSync([resized])
const typedArray = new Uint8Array(resized)
const result = actualModel.runSync([typedArray])
console.log('Result: ' + result.length)
},
[actualModel]
Expand Down

0 comments on commit 99ccb41

Please sign in to comment.