Hello everyone,

I would be very grateful if someone could tell me which sentence is correct and what tense should be used in similar sentences:

I decided to hide and wait to see if anyone will enter the house when I leave.

I decided to hide and wait to see if anyone would enter the house after I left.


Many thanks!

Anne