feat: integrate formbricks for team disband action (#13362)
* feat: integrate formmbricks for team disband action * fix: attribute typing & duplicate action * fix: track action uniformly across repo * fix: move action tracking on success of team disband mutation * fix: yarn lock file * feat: bump formbricks/js to latest version --------- Co-authored-by: Keith Williams <[email protected]> Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
13 files changed
+92
-10
No files matched your search
@@ -44,6 +44,7 @@ import {
|
||||
TOP_BANNER_HEIGHT,
|
||||
ENABLE_PROFILE_SWITCHER,
|
||||
} from "@calcom/lib/constants";
|
||||
import { useFormbricks } from "@calcom/lib/formbricks-client";
|
||||
import getBrandColours from "@calcom/lib/getBrandColours";
|
||||
import { useBookerUrl } from "@calcom/lib/hooks/useBookerUrl";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
@@ -237,6 +238,8 @@ const Layout = (props: LayoutProps) => {
|
||||
return (activeBanners?.length ?? 0) * TOP_BANNER_HEIGHT;
|
||||
}, [banners]);
|
||||
|
||||
useFormbricks();
|
||||
|
||||
return (
|
||||
<>
|
||||
{!props.withoutSeo && (
|
||||
|
||||
Reference in new issue
Block a user