There is an optional convention in writing in כתיב מלא "k'tiv male" to write two yods (or two vavs) to indicate that the potential vowel letter is being used as a consonant. The only cases where it's really important to use it are cases where if you don't, the word might be mistaken for a different one. Still, for many people, it makes it easier if you use this convention.
You wrote the wrong word (so instead of just a typing error, it became another word entirely) you used a hei. ה What you wrote: https://www.pealim.com/dict/454-lihyot/