People are tentative when placing magnets around electronics, even though most modern components are immune to all but the strongest magnets.
Have a look and read:
https://mybroadband.co.za/news/hardware/251779-we-placed-an-industrial-strength-magnet-on-random-gadgets.html