apibara / starknet-react

A collection of React providers and hooks for StarkNet
https://starknet-react.com
MIT License
364 stars 141 forks source link

Error on page demos/contract-read #416

Closed thollander closed 6 months ago

thollander commented 6 months ago

On https://starknet-react.com/demos/contract-read,

Unhandled Runtime Error
TypeError: Do not know how to serialize a BigInt

Source
components/demos/contract-read.tsx (77:19) @ stringify

  75 | <div className="space-y-1">
  76 |   <Label>Call result</Label>
> 77 |   <p>{JSON.stringify(data)}</p>
     |           ^
  78 | </div>
  79 | <div className="space-y-1">
  80 |   <Button onClick={() => refetch()}>Refetch data</Button>