Which of these is a genuine violation of the Rules of Hooks inside a custom hook?
function useFeature(enabled) {
if (enabled) {
const [value, setValue] = useState(0); // A
}
const [count, setCount] = useState(0); // B
useEffect(() => {}, []); // C
return count;
}