Router console.log message appears on thumbnail click