我关注的是react-native-modul github页面。https://github.com/react-native-community/react-native-modal 由于某些原因,我一直在render()旁边收到一个错误,说我需要一个;而在我的所有其他代码中enter image description here import React, {useState} from
line 11 });这个错误很明显是在11:15,没有分号这使得分号位于单词温度的中间。我做错了什么?
注意:我是故意把api键去掉的。实际的代码中包含api键。错误消息:语法错误/Users/shavaunmacarthur/Documents/react-native-workspace/weather