Skip to content

Commit d91715f

Browse files
committed
fix: lint
1 parent 6c1270c commit d91715f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

app/components/Views/Homepage/hooks/useHomeSessionSummary.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ const useHomeSessionSummary = ({
4949
}, [totalSectionsLoaded]);
5050

5151
useFocusEffect(
52-
useCallback(() => () => {
52+
useCallback(
53+
() => () => {
5354
// Blur — user is leaving the homepage. Skip if never actually focused.
5455
if (visitIdRef.current === 0) return;
5556
const sessionTime = Math.round(
@@ -67,7 +68,9 @@ const useHomeSessionSummary = ({
6768
})
6869
.build(),
6970
);
70-
}, [trackEvent, createEventBuilder, getViewedSectionCount]),
71+
},
72+
[trackEvent, createEventBuilder, getViewedSectionCount],
73+
),
7174
);
7275
};
7376

0 commit comments

Comments
 (0)