mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
SELF-773: standardize analytics imports (#1538)
* standardize analytics * format
This commit is contained in:
@@ -33,7 +33,7 @@ import { appsUrl } from '@/consts/links';
|
||||
import { useIncomingPoints, usePoints } from '@/hooks/usePoints';
|
||||
import { usePointsGuardrail } from '@/hooks/usePointsGuardrail';
|
||||
import type { RootStackParamList } from '@/navigation';
|
||||
import analytics from '@/services/analytics';
|
||||
import { trackScreenView } from '@/services/analytics';
|
||||
import {
|
||||
isTopicSubscribed,
|
||||
requestNotificationPermission,
|
||||
@@ -70,7 +70,6 @@ const Points: React.FC = () => {
|
||||
// Track NavBar view analytics
|
||||
useFocusEffect(
|
||||
React.useCallback(() => {
|
||||
const { trackScreenView } = analytics();
|
||||
trackScreenView('Points NavBar', {
|
||||
screenName: 'Points NavBar',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user