The router has been under heat testing, aging etc. So it should be totally fine, unless it melt the cases etc.

But always provide good cooling to the device.