Being around fire smoke while pregnant

We were at my grandmas and my sister wanted to cook her dinner (she’s 26 years old) so she was boiling water and somehow managed to start a fire. It got decently big and the whole house was filled with smoke and I was in it for maybe 5-10 minutes. Should I be worried??