near / bos-web-engine

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

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

Open andy-haynes opened 7 months ago

andy-haynes commented 7 months 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