mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-21 19:59:39 -05:00
0a1816786b
Fixes FORMBRICKS-NG The issue was caused by importing and re-exporting the viewport constant from a shared module in the survey layout file. This re-export pattern could cause bundling issues where the viewport variable name leaked into the global scope or interfered with custom scripts. Changes: - Define viewport export directly in app/s/[surveyId]/layout.tsx - Remove viewport export from modules/survey/link/layout.tsx to prevent scope pollution - This ensures viewport metadata stays scoped to Next.js and doesn't conflict with custom scripts that may define their own viewport variables