How to get rid of double-logging in Vite?

I’m using Vite with pnpm to build a React 18 app. For some reason the logs I’m seeing in the browser console are doubled. First it’s coming from the filename that is correct, the second is coming from localhost:port. I want to get rid of the localhost logs.

log list