Potty training car rides

My daughter is newly potty trained how did y’all work the potty training with car rides?? Did you have a diaper on during the car ride or did you let them wear undies and risk the accident in the car seat??

TIA any advice is welcome :)