Thanks for the report, @joshuavalentin.
Could you let me know:
– what version of WordPress you’re using?
– what version of this plugin you’re using?
– where you’re trying to add an icon to a block? (i.e. using the WordPress block editor to create/edit a page or post, or in the new site editor, or something else?)
It would also be helpful to know what version of React and ReactDOM are loaded on the page where this error occurs. You may able to inspect that by going into the JavaScript console (aka Web Console) on the page where you’re seeing the error, and typing “React.version” (and Enter) to get the version of React, and “ReactDOM.version” (and Enter) to get the version of ReactDOM.
I’ve recently confirmed the functionality of this plugin’s Icon Chooser in a clean installation of the latest version of WordPress, so I’m wondering about a potential conflict due to some other plugin or theme.
If you’re a Font Awesome Pro subscriber, you can get additional support by emailing hello at fontawesome dot com. (It’ll still be me helping you, but we could get more specific about the situation on your site than we could in this public forum.)