import { Box } from '@mui/system'; import Head from 'next/head'; import ProductsHero from '../../components/products-hero/ProductsHero'; const Products = () => { return ( <> NextJS template ); }; // export async function getStaticProps({ locale }) { // const queryClient = new QueryClient(); // await queryClient.prefetchQuery(['randomData', 1], () => getData(1)); // return { // props: { // dehydratedState: dehydrate(queryClient), // ...(await serverSideTranslations(locale, ['pagination'])), // }, // }; // } export default Products;