Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Removed survey #696

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/web/.example.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ NEXT_PUBLIC_TAWK_WIDGET_ID=
NEXT_PUBLIC_OPENREPLAY_KEY=
NEXT_PUBLIC_SENTRY_DSN=
SENTRY_DSN=
NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID=
NODE_ENV=production
8 changes: 0 additions & 8 deletions apps/web/components/common/Support.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Script from 'next/script';
import getConfig from 'next/config';
import Tracker from '@openreplay/tracker';
import { useEffect, useRef } from 'react';
import formbricks from '@formbricks/js/app';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import TawkMessengerReact from '@tawk.to/tawk-messenger-react';
Expand Down Expand Up @@ -42,13 +41,6 @@ export function Support({ profile }: SupportProps) {
tracker.setMetadata('lastname', profile.lastName);
tracker.setMetadata('firstname', profile.firstName);
}
if (publicRuntimeConfig.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID) {
formbricks.init({
environmentId: publicRuntimeConfig.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID,
userId: profile._id,
apiHost: 'https://app.formbricks.com',
});
}
/*
* twakRef.current?.setAttributes({
* id: profile._id,
Expand Down
1 change: 0 additions & 1 deletion apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const nextConfig = {
NEXT_PUBLIC_ONBOARDING_TOKEN: process.env.NEXT_PUBLIC_ONBOARDING_TOKEN,
NEXT_PUBLIC_PAYMENT_GATEWAY_URL: process.env.NEXT_PUBLIC_PAYMENT_GATEWAY_URL,
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,
NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID: process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID,
NEXT_PUBLIC_COUPON_ENABLED: process.env.NEXT_PUBLIC_COUPON_ENABLED,
},
sentry: {
Expand Down
1 change: 0 additions & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@amplitude/analytics-browser": "^2.0.1",
"@emotion/react": "^11.10.5",
"@emotion/server": "^11.10.0",
"@formbricks/js": "^2.1.0",
"@impler/react": "workspace:^",
"@impler/shared": "workspace:^",
"@mantine/carousel": "6.0.21",
Expand Down
1 change: 0 additions & 1 deletion apps/web/types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace NodeJS {
NEXT_PUBLIC_TAWK_WIDGET_ID: string;
NEXT_PUBLIC_OPENREPLAY_KEY: string;
NEXT_PUBLIC_SENTRY_DSN: string;
NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID: string;

NEXT_PUBLIC_PAYMENT_GATEWAY_URL: string;
NEXT_PUBLIC_GTM_ID: string;
Expand Down
Loading
Loading