I'm trying to insert the TradingView widget into my Next.js project, but it's not showing anything. Am I doing something wrong here?
import React from 'react' import { Helmet } from "react-helmet" function EconomicCalendar() { return ( ) } export default EconomicCalendar
What should you usually do
If you are using Next.js, you do not need to use React Helmet to insert script tags into the head. Next.js has its own Script to optimize and manage third-party JavaScript. Or you can write inline JavaScript by adding inline script.
Please refer to the official documentation https://nextjs.org/docs/app/building-your-application/optimizing/scripts