From aaa3dd76e8976f988508918dc03b9df6e0e31368 Mon Sep 17 00:00:00 2001 From: viktorking7 <140458814+viktorking7@users.noreply.github.com> Date: Mon, 3 Feb 2025 18:28:42 +0100 Subject: [PATCH 1/2] Update StartBuilding.tsx (#1620) --- apps/web/src/components/GetStarted/StartBuilding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/GetStarted/StartBuilding.tsx b/apps/web/src/components/GetStarted/StartBuilding.tsx index 66ce8c3ca31..4360fa446ae 100644 --- a/apps/web/src/components/GetStarted/StartBuilding.tsx +++ b/apps/web/src/components/GetStarted/StartBuilding.tsx @@ -63,7 +63,7 @@ export default async function StartBuilding() { /> 02} topRight={} From 368aa539662290ef24a417cbee375cb069a6b07d Mon Sep 17 00:00:00 2001 From: Brendan from DeFi Date: Mon, 3 Feb 2025 12:36:58 -0800 Subject: [PATCH 2/2] fix type error (#1691) --- apps/web/contexts/Analytics.tsx | 4 ++-- libs/base-ui/utils/logEvent.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/contexts/Analytics.tsx b/apps/web/contexts/Analytics.tsx index 19dc0ec52b2..0dcdcde304d 100644 --- a/apps/web/contexts/Analytics.tsx +++ b/apps/web/contexts/Analytics.tsx @@ -4,7 +4,7 @@ import logEvent, { ActionType, AnalyticsEventImportance, CCAEventData, - AnalyticsContext, + AnalyticsEventContext, } from 'libs/base-ui/utils/logEvent'; import { ReactNode, createContext, useCallback, useContext, useMemo } from 'react'; @@ -30,7 +30,7 @@ export function useAnalytics() { type AnalyticsProviderProps = { children?: ReactNode; - context: AnalyticsContext; + context: string | AnalyticsEventContext; }; export default function AnalyticsProvider({ children, context }: AnalyticsProviderProps) { diff --git a/libs/base-ui/utils/logEvent.ts b/libs/base-ui/utils/logEvent.ts index 155bcc9f71b..b79dd9ccf18 100644 --- a/libs/base-ui/utils/logEvent.ts +++ b/libs/base-ui/utils/logEvent.ts @@ -84,7 +84,7 @@ type CCAEventData = { message_id?: number; response_helpful?: boolean; address?: string; - context?: AnalyticsEventContext; + context?: string | AnalyticsEventContext; userId?: string; error?: string; wallet_type?: string;