near / react-on-chain

Improved execution layer for NEAR decentralized frontend components
https://roc-docs.near.dev/
23 stars 5 forks source link

Phosphor Icons not rendering as of `@phosphor-icons/react@2.1.4` #397

Open andy-haynes opened 1 month ago

andy-haynes commented 1 month ago

Since publishing @phosphor-icons/react@2.1.4, the demo page is breaking on the error Uncaught TypeError: Cannot read properties of undefined (reading 'current')

It appears to be accessing the result from a useRef prior to initialization. Debugging indicates that the current value is populated when the error is logged, so this could be a race condition.

### Tasks
- [ ] https://github.com/near/bos-web-engine/issues/398