She flirts with me. But I'm not her type?

So I've been talking to this girl for a while we flirted a lot. Then one day things started to heat up and we started dirty talking and sending pics. But then one day she told me she didn't think we would work as a couple cause I wasn't her type and her mum didn't like the fact I'm 22 and she's 18. What should I do it's kinda knocked my pride and confidence.
She flirts with me. But I'm not her type?
Post Opinion