Hello and hope you are doing well.
Bed wetting known as Nocturnal enuresis, is a common problem in kids, especially children under the 6 years old. Bedwetting often runs in families: many kids who wet the bed have a relative who did, too. If both parents wet the bed when they were young, it's very likely that their child will. She should use the washroom before sleeping and restrict fluids at night. And she will outgrow with time.
Hope this helped and do keep us posted.
Cut back on evening drinks ..many children drink a lot in the evenings ..