Stupid question

KP
So I have a silly question. I just found out my mom had gestational diabetes when pregnant with me. I'm 18 weeks today, I was wondering if that increases my chances of getting it. Or does genetics play any role in that?