react Refused to execute inline script because it violates the following Content Security Policy directive

JavaScript
If you are using React:

create a .env file in project root

Add variable as follows: INLINE_RUNTIME_CHUNK=false

Build the project again and load the extension again.
Source

Also in JavaScript: