Timeline for window.cardano undefined
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 20, 2023 at 16:25 | answer | added | Alexis | timeline score: 1 | |
Mar 20, 2023 at 16:02 | answer | added | Sliffer | timeline score: 0 | |
Apr 30, 2022 at 13:50 | answer | added | Will | timeline score: 6 | |
Apr 30, 2022 at 12:37 | history | edited | Lorenzo | CC BY-SA 4.0 |
More detail
|
Apr 30, 2022 at 12:34 | comment | added | Lorenzo | I try to use this code in a react useEffect: ` let cardanoExist = await window.cardano if (cardanoExist) { let namiExist = await window.cardano.nami if (namiExist) { \\ do some stuff ` But sometimes window.cardano is undefined, also if i have installed, for example, nami wallet | |
Apr 28, 2022 at 4:33 | comment | added | CommunityBot | Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. | |
Apr 22, 2022 at 18:05 | comment | added | Matt Halloran | What website are you calling window.cardano from? If you call it from a new tab or a localhost port that's not running a frontend, then it will be undefined. | |
S Apr 22, 2022 at 11:23 | review | First questions | |||
Apr 28, 2022 at 4:33 | |||||
S Apr 22, 2022 at 11:23 | history | asked | Lorenzo | CC BY-SA 4.0 |