refactor: remove @calcom/features dependency to @calcom/web (#13365)

* refactor: remove @calcom/features dependency to @calcom/web

* refactor: remove IS_VISUAL_REGRESSION_TESTING from web

* fix: wrong imports

---------

Co-authored-by: Omar López <[email protected]>
This commit is contained in:
MorganandOmar López authored and GitHub committed 2024-01-23 17:17:36 +00:00
1 parent 7058da70e6
commit 4417d649ea
24 files changed
+52 -36

No files matched your search

+9 -3
View File
@@ -33,8 +33,15 @@ import VerifyEmailBanner, {
type VerifyEmailBannerProps,
} from "@calcom/features/users/components/VerifyEmailBanner";
import classNames from "@calcom/lib/classNames";
import { TOP_BANNER_HEIGHT } from "@calcom/lib/constants";
import { APP_NAME, DESKTOP_APP_LINK, JOIN_DISCORD, ROADMAP, WEBAPP_URL } from "@calcom/lib/constants";
import {
APP_NAME,
DESKTOP_APP_LINK,
JOIN_DISCORD,
ROADMAP,
WEBAPP_URL,
IS_VISUAL_REGRESSION_TESTING,
TOP_BANNER_HEIGHT,
} from "@calcom/lib/constants";
import getBrandColours from "@calcom/lib/getBrandColours";
import { useBookerUrl } from "@calcom/lib/hooks/useBookerUrl";
import { useLocale } from "@calcom/lib/hooks/useLocale";
@@ -88,7 +95,6 @@ import {
Zap,
} from "@calcom/ui/components/icon";
import { Discord } from "@calcom/ui/components/icon/Discord";
import { IS_VISUAL_REGRESSION_TESTING } from "@calcom/web/constants";
import { useOrgBranding } from "../ee/organizations/context/provider";
import FreshChatProvider from "../ee/support/lib/freshchat/FreshChatProvider";