Is it a bad idea to travel with an ex?

Booked a non refundable trip with my ex and now that we have broken I’m unsure if I should go.

We had a pretty amicable break up. It’s a recent break up so I am still hurt about it tho.

The trip is planned for July so I’ll be fine by then.

My friend said that she didn’t think that would be a good idea, we work together so I’ll be around him anyways.