Skip to content

Commit

Permalink
fix: Update integrity trading view chart (#10649)
Browse files Browse the repository at this point in the history
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->


<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the integrity attribute of the
TradingView script in `TradingView.tsx`.

### Detailed summary
- Updated the integrity attribute of the TradingView script in
`TradingView.tsx` for enhanced security.
- Changed the integrity value to
"sha256-kYIDvJ8KAurvEZgYL7xBP19dqfZsI978rTedCEmYTk4=".

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
memoyil authored Sep 9, 2024
1 parent b624cea commit c21ca48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/TradingView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const TradingView = ({ id, symbol }: TradingViewProps) => {
<Box overflow="hidden" className="tradingview_container">
<Script
src="https://s3.tradingview.com/tv.js"
integrity="sha256-zV9ME0tqpjvI1MNbGxqfJ9LbarbmZrr+RLnhsTJR7wk="
integrity="sha256-kYIDvJ8KAurvEZgYL7xBP19dqfZsI978rTedCEmYTk4="
crossOrigin="anonymous"
strategy="lazyOnload"
id="tv.js"
Expand Down

0 comments on commit c21ca48

Please sign in to comment.