Light leaking

I replaced the bulbs in my pool light android put on and new gasket. I didn’t realized at first that i put the gasket on incorrectly so it leaked. I took them light back out android opened it up. There’s was a little bit of water in there. I have it opened up sitting in their sun. Would this be enough to dry it out and begin a lease to use it?