does a mirror work because of refraction
No. A mirror works because of reflection.
A mirror works from reflection. Not refraction. Easy stuff c'mon