Just to be safe I would check the areas where you think coffee spilled for corrosion on the motherboard. If you find any spots where corrosion is present then use a toothbrush with isopropyl alcohol and scrub it off.
The 8-bit Guy has a video where he does this with a MacBook but the procedure is the same to clean the corrosion. Follow the respective guide for the removal of your motherboard and then clean it. If you don't feel confident doing a repair like this you could leave it alone as long as the laptop is dry, but I would strongly recommend checking for corrosion.
[https://www.youtube.com/watch?v=Ef2tvcqylcU&t=252s|Video]