diff --git a/src/app/client-layout.jsx b/src/app/client-layout.jsx index bdf6e8d..0a2955b 100644 --- a/src/app/client-layout.jsx +++ b/src/app/client-layout.jsx @@ -2,6 +2,7 @@ import { useEffect, useState } from 'react'; import { usePathname } from 'next/navigation'; +import { FeedbackWidget } from '@profullstack/stack/feedback'; import { useThemeStore, themeUtils } from '@/lib/stores/theme.js'; import { useI18n } from '@/lib/hooks/useI18n.js'; import { i18nUtils, languages } from '@/lib/stores/i18n.js'; @@ -62,6 +63,14 @@ export default function ClientLayout({ children }) { )} + {/* pathname is passed explicitly so hideOnRoutes tracks client-side + navigation — the widget's own detection only reads window.location + on first render, which never re-runs from a root layout. */} +