skip to Main Content

Check if one row of json data exist in React Native

I am creating a ticket scanner app with expo React Native. When I scan a qr code I have a var called ScannedCode. When I render the jsonData in the app the output is: {"txid":"ch_3LZwATA4WCavBwXA1iN5diTN"}{"txid":"ch_3LZwBNA4WCavBwXA0kPBItB3"}{"txid":"ch_3LZwEkA4WCavBwXA02WfrvTP"}{"txid":"ch_3LZwFMA4WCavBwXA0xaSxBTv"} I use an if statement…

VIEW QUESTION
Back To Top
Search