Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6214

React Native: When I add isSignedIn ternary operator statement on React.Navigator, it is saying that I sent an object as react child

$
0
0

I started learning React Native and doing something basic from React but it doesn't work and I can't find the problem.

This is my code, and this is the error I get.

It worked until I added the ternary statement, which should return only the screens for logged/unlogged users.

Do someone know what I did wrong or what should I do? Thank you!


Viewing all articles
Browse latest Browse all 6214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>