Vial out of fridge

I’m sure this has been asked somewhere but I tried a search and couldn’t find anything. Today I had to travel about 4 hours in my car and my vial was in my purse in a pouch that I’d had in the refrigerator. By the time I got home, the vial was at room temperature and I just put it back in the fridge. Now I’m reading that you should just leave it out once it comes to room temperature. Did I make a mistake and will it still be effective?