Tee tree oil foot mask

So I didn’t know you weren’t suppose to use foot mask during pregnancy???? Anyone else know this ? Is the baby okay ?