Thanks for choosing H.C.M. for medical help
By your query it is clear that smell of toilet cleaner had effect on your throat by it's irritating chemicals and thus you developed sore throat
, but there is no systemic effects as breathlessness, palpitation
, altered consciousness thus it's adverse effect on baby are unlikely.
To get relief you may take-
1- Anti allergic.
2- Anti inflammatory.
3- Warm saline gargling.
I hope this will help you.