Phone number authentication - howto

hey I have found out the mistake in the code

Can we use Firebase UI?