You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running the test We are encountering the error as follows
Cannot read properties of null (reading 'scale')
TypeError: Cannot read properties of null (reading 'scale')
at QRCode.Object.<anonymous>.QRCode.update (/Users/bhushan/Documents/my-web/apps/web/node_modules/react-qrcode-logo/dist/index.js:162:13)
at QRCode.Object.<anonymous>.QRCode.componentDidMount (/Users/bhushan/Documents/my-web/apps/web/node_modules/react-qrcode-logo/dist/index.js:145:14)
at commitLayoutEffectOnFiber (/Users/bhushan/Documents/my-web/apps/web/node_modules/react-dom/cjs/react-dom.development.js:23310:28)
Can you please tell me what I am doing wrong?
The text was updated successfully, but these errors were encountered:
We are trying to write the tests for the component where we are using this. Although while running the test we are getting the error
The code we are writing to run the test is
AuthQR
is our component in which the QR Component using this library is being rendered. The code for the component goes like thisWhile running the test We are encountering the error as follows
Can you please tell me what I am doing wrong?
The text was updated successfully, but these errors were encountered: