import React, { useRef } from "react"; import Head from "next/head"; import Header from "../utils/header"; import Footer from "../utils/footer"; const Layout = ({ children, ProductData }) => { return ( <>