diff --git a/App.js b/App.js index baa4ca8..55dd59e 100644 --- a/App.js +++ b/App.js @@ -38,8 +38,8 @@ export default function App() { useEffect(() => { UpdateAsync(); }, []); + const [favoriteStation, setFavoriteStation] = useState([]); - useEffect(() => { AS.getItem("favoriteStation") .then((d) => { diff --git a/howto.js b/howto.js index 57f0475..60209a1 100644 --- a/howto.js +++ b/howto.js @@ -4,10 +4,9 @@ import { StatusBar, View, TouchableOpacity, Text } from "react-native"; import { WebView } from "react-native-webview"; export default ({ navigation: { navigate }, route }) => { const { info, onExit = () => navigate("Apps") } = route.params; - return ( - +