That is exactly the point!
If you let you get the series
so the series converges pointwise to zero there
Now by the geometric series when the series converges to
so this sum converges to the function
Can a series of uniformly continuous functions converge to a discontinuous function?