when I try to set initial value from redux state, there is nothing on text component but i can see the value on console
const Profile = props => {
const userName = useSelector(userSelector);
const [name, setName] = useState(userName);
console.log(userName);
return (
<Text>{name}</Text>
);
};