Black holes are not infinitely small
At some point, the collapsing core of a black hole becomes even smaller than an atom or an electron. It eventually reaches its Planck Length, a quantum size limit that makes it barely measurable.