useDebugValue is a Hook and follows the Rules of Hooks, so it should be called consistently at the top level.
Question 11 of 20 in useDebugValue Quiz