How do I evolve my Gligar(SOLVED)

So I was doing an Egglocke run and I just got to Helios City with my Gligar. I bought a razor fang and leveled up my gligar during the night with the Razor Fang attached. It didn’t evolve like it should’ve. I have no idea what went wrong, all help is thoroughly appreciated.

Never mind, it evolved after I did the exact same thing again, a bit confused but I don’t need any more help

It evolves into Gliscor when leveled up holding a Razor Fang during the night.

Oh, mk. Glad you figured it out.