···11111212export const useDebugState = () => {
1313 const value = useContext(DebugContext);
1414- if (value === null)
1414+ if (!value)
1515 throw new Error(
1616 "Debug provider failed to initialise. Did you access this out of tree somehow? Tried to access debug value before it was initialised.",
1717 );