Device: (760:1429) Type error

I’m getting this error when I try to run the project on my phone. Nothing looks wrong in the code, there aren’t any red marks. I googled it but there was nothing about this particular error. I also looked it up here on the Forums and there is another topic but it’s about SQLite. I started using React Native and Expo some weeks ago so I am absolutely clueless about what this error can mean.