Inanely has 2 different meanings across 1 category:
Adverb
vacuously or complacently and unconsciously foolish
In an inane manner.