Skip to content

Commit

Permalink
Background Purchase Log 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sumi-0011 committed Oct 31, 2024
1 parent d0a8d3a commit 403e422
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { useQuery, useSuspenseQuery } from '@tanstack/react-query';
import { AxiosError } from 'axios';
import { toast } from 'sonner';

import { trackEvent } from '@/lib/analytics';
import { useClientUser } from '@/utils/clientAuth';
import { getBackgroundImage } from '@/utils/image';

Expand Down Expand Up @@ -55,6 +56,7 @@ export const BackgroundSection = wrap

const handleBuyBackground = (type: string) => {
buyBackground({ type });
trackEvent('buy-background', { background: type });
};

return (
Expand Down

0 comments on commit 403e422

Please sign in to comment.