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