Skip to content

Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-ENb21QT9vf4dEbbGNxh+DQ=='" #2822

Answered by srmagura
Sudeepkumar799 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Sudeepkumar799, you should be able to fix this with the nonce option createCache. https://emotion.sh/docs/@emotion/cache#nonce

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@Sudeepkumar799
Comment options

@srmagura
Comment options

@Sudeepkumar799
Comment options

@cabaisma
Comment options

@wishtree-dparekh
Comment options

Answer selected by Sudeepkumar799
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #2821 on July 13, 2022 12:48.