Skip to content

Commit

Permalink
chore: remove superflous and erroneous analytics tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Apr 24, 2024
1 parent 4c24a32 commit af1d8bc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/app/features/settings/sign-out/sign-out-confirm.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { useEffect } from 'react';
import { useNavigate } from 'react-router-dom';

import { RouteUrls } from '@shared/route-urls';

import { useAnalytics } from '@app/common/hooks/analytics/use-analytics';
import { useKeyActions } from '@app/common/hooks/use-key-actions';

import { SignOutDialog } from './sign-out';
Expand All @@ -13,9 +11,6 @@ interface SignOutProps {
}

export function SignOut({ onClose }: SignOutProps) {
const analytics = useAnalytics();

useEffect(() => void analytics.track('sign-out'), [analytics]);
const { signOut } = useKeyActions();
const navigate = useNavigate();

Expand Down

0 comments on commit af1d8bc

Please sign in to comment.