When I study formal completion and formal schemes, on p.194 of Hartshorne's "Algebraic Geometry", he said "However, one should note that the local rings of $\hat{X}$ are in general not complete."

But I can't see the reason for that the local rings of $\hat{X}$ are in general not complete.

Could someone explains this for me, thanks.