Unboxed-Software / solana-movie-frontend

Mozilla Public License 2.0
14 stars 80 forks source link

TypeError: src.toArrayLike is not a function #10

Open metasal1 opened 10 months ago

metasal1 commented 10 months ago

`Unhandled Runtime Error TypeError: src.toArrayLike is not a function

Source src/components/Custom.tsx (40:26) @ encode

40 | equipPlayerSchema.encode({ variant: 1, playerId: 1, itemId: 1 }, buffer) 41 | 42 | const instructionBuffer = buffer.slice(0, equipPlayerSchema.getSpan(buffer))

Any idea what the resolution is?