No, there is one rule in refraction also, snell’s rule:
sine(angle of incidence)*index of refraction of the incident medium=sine(angle of refraction)* index of refraction of the refractive medium
N1 * sinx = N2 * siny
Since angle of incidence is 0 degrees, sin(0)=0.
So, N2 * siny is also zero Now, index of refraction of the refractive medium cannot be 0, so angle of incidence would be equal to 0.
So, we get the result that the light ray will pass without any deviation i.e. at o degrees.