Tonomy-Foundation / Tonomy-ID

Tonomy ID is the cross-platform mobile wallet (Android and iOS) for public and private Antelope blockchains. This application allows you to sign transactions on the block chain, share your DID and Verifiable Credentials containing your identity with others in a consensual way and log into web2 and web3 applications.
Apache License 2.0
16 stars 1 forks source link

console.error is causing "Unexpected JS" errors to be thrown #1220

Closed theblockstalk closed 2 weeks ago

theblockstalk commented 1 month ago

caused in /home/dev/Documents/Git/Tonomy/Tonomy-ID/src/components/TErrorModal.tsx

 DEBUG  tonomy-id:utils:exceptions Unexpected JS Error Logs +43s TErrorModal() unexpected error string "TErrorModal() unexpected error"
 DEBUG  tonomy-id:store:errorStore setError +194ms TErrorModal() unexpected error
theblockstalk commented 1 month ago

this can be tested by calling console.error or by calling TErrorModal with expected: true which will result in recursive rendering