Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Successful in 3m3s
Build & Deploy / 🏗️ Build (push) Successful in 2m41s
Build & Deploy / 🚀 Deploy (push) Successful in 31s
Build & Deploy / 🧪 Smoke Test (push) Successful in 1m32s
Build & Deploy / 📸 Visual Diff (push) Failing after 2m4s
Build & Deploy / 🛡️ Quality Gates (push) Failing after 2m25s
Build & Deploy / ⚡ Lighthouse (push) Successful in 6m26s
Build & Deploy / ♿ WCAG (push) Successful in 5m47s
Build & Deploy / 🔔 Notify (push) Successful in 1s
19 lines
436 B
TypeScript
19 lines
436 B
TypeScript
'use client';
|
|
|
|
import dynamic from 'next/dynamic';
|
|
|
|
const FeedbackOverlay = dynamic(
|
|
() => import('@mintel/next-feedback/FeedbackOverlay').then((mod) => mod.FeedbackOverlay),
|
|
{ ssr: false },
|
|
);
|
|
|
|
interface FeedbackClientWrapperProps {
|
|
feedbackEnabled: boolean;
|
|
}
|
|
|
|
export default function FeedbackClientWrapper({ feedbackEnabled }: FeedbackClientWrapperProps) {
|
|
if (!feedbackEnabled) return null;
|
|
|
|
return <FeedbackOverlay />;
|
|
}
|