iPhone X keep rebooting after liquid damage. After checking, it proved that its proximity sensor has been damaged by liquid. Here’s the video clip of fixing this issue.

Repair Logs