How to get rid of Target Frame Cast Bar

Does anyone know how to get rid of the cast bar underneath the target frame? It showed up randomly a few days ago not sure how, and I find it annoying. I already have the cast bar over their nameplates so I don’t need it.

/console showTargetCastbar 0

Thanks so much! That did it