Skip to content

Commit

Permalink
change wallet type property from camel to snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Jul 19, 2024
1 parent 4a5d768 commit 87a4ad9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/base-docs/src/theme/NavbarItem/ComponentTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const CustomConnectButton = ({ className }) => {
action: ActionType.change,
context: 'navbar',
address,
walletType: sanitizeEventString(connector?.name),
wallet_type: sanitizeEventString(connector?.name),
},
AnalyticsEventImportance.low,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function ConnectWalletButton({ color, className }: ConnectWalletButtonPro
action: ActionType.change,
context: 'navbar',
address,
walletType: sanitizeEventString(connector?.name),
wallet_type: sanitizeEventString(connector?.name),
},
AnalyticsEventImportance.low,
);
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 @@ -64,7 +64,7 @@ type CCAEventData = {
address?: string;
context?: string;
userId?: string;
walletType?: string;
wallet_type?: string;
};

type AnalyticsEventData = {
Expand Down

0 comments on commit 87a4ad9

Please sign in to comment.