I would not recommend using a plug in mosquito repellent near a baby or in a babies room since the plug in mosquito repellent contains chemicals that are not really safe for anyone especially babies to inhale.
You can use a vaporizer though to naturally repel mosquitoes in your babies room.