If I buy my baby a swimsuit, does she need a swim diaper too?

Je

Sorry if it's a dumb question, I just really don't know if I'm supposed to get her a swim diaper too. Should I get disposable swim diapers?? What do I do if she poops? I'm taking her to the beach. She's 10 months old. Thanks for the help!