Because the D and the T are blended into a single consonant when this phrase is pronounced, many writers are unaware that the D is even present and omit it in writing. You’re supposed to get this one right if you want to earn the respect of your readers.
See also “use to.”
BUY THE BOOK!