Nigeria can avoid costly digital classroom mistakes by putting teachers, infrastructure and learning outcomes before devices.