Skip to content

Commit

Permalink
Merge branch 'master' into moiz/3dns-ecosystem-addition
Browse files Browse the repository at this point in the history
  • Loading branch information
moiz-3dns authored Feb 3, 2025
2 parents a671d6c + 368aa53 commit 3cb3bde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/web/contexts/Analytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -30,7 +30,7 @@ export function useAnalytics() {

type AnalyticsProviderProps = {
children?: ReactNode;
context: AnalyticsContext;
context: string | AnalyticsEventContext;
};

export default function AnalyticsProvider({ children, context }: AnalyticsProviderProps) {
Expand Down
2 changes: 1 addition & 1 deletion libs/base-ui/utils/logEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3cb3bde

Please sign in to comment.