// screens/Settings.js | |
import React from 'react'; | |
import { StyleSheet, Text, View } from 'react-native'; | |
import { useSelector } from 'react-redux'; // import the hooks | |
export default function HomeScreen() { | |
const settings = useSelector(state => state.settings); // retrieve settings from the store | |
console.log('Settings: ', settings); | |
return ( | |
... |