The map is initialized via useEffect, but there is no cleanup function in the example code. Am I missing something?