I can't seem to figure out why this piece of React code isn't console logging any of the values...
const [href, setHref] = useState("");
const [whatever, setWhatever] = useState("");
useEffect(() => {
setHref(window.location.href);
setWhatever(href + " cats");
console.log(whatever);
console.log(href);
}, []);