Skip to content

Commit

Permalink
feat(FR-462): inject nonce in antd's ConfigProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
agatha197 committed Feb 5, 2025
1 parent 4d1c649 commit b9fe8ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react/src/components/DefaultProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export const DefaultProvidersForReactRoot: React.FC<
? theme.darkAlgorithm
: theme.defaultAlgorithm,
}}
csp={{ nonce: '{{nonce}}' }}
>
<App {...commonAppProps}>
{/* <StyleProvider container={shadowRoot} cache={cache}> */}
Expand Down

0 comments on commit b9fe8ed

Please sign in to comment.