'use client'; import { useEffect, useRef } from 'react'; const TrustPilot = () => { const ref = useRef(null); useEffect(() => { // @ts-ignore if (window.Trustpilot) { // @ts-ignore window.Trustpilot.loadFromElement(ref.current); } }, []); return (
); }; export default TrustPilot;