Maybe there is a better solution, but just in case you bought this board from Ali - ESP32 Wroom 32 with USB-C - https://www.aliexpress.com/item/32964479255.html - with CH340C chip, you must cut VCC to get antenna working or to improve Wifi without the antenna overal. Read more on https://community.home-assistant.io/t/something-is-very-wrong-with-the-wifi-on-the-esp32-boards-i-ordered-from-aliexpress-is-there-any-way-to-salvage-these-and-fix-the-wifi/477631
Note to the print - the LED holes might be not perfectly aligned but you can always post adjust it in Prusa Slicer.
Also I glued the ESP32 board with hot-glue gun to secure it.
The author remixed this model.
Simple remix, little bit prolonged, so that you can push trough the Wifi cable