If your mom and grandma had miscarriages around 9 weeks would that increase my chances?

If your mom and grandma had miscarriages around 9 weeks would that increase my chances of a miscarriage?

My mom just told me they both did. I’m 8 weeks and now I’m nervous!