diff --git a/src/app/Scenes/HomeView/Components/ActivityIndicator.tsx b/src/app/Scenes/HomeView/Components/ActivityIndicator.tsx index 1b571eacc4a..9969e7578bb 100644 --- a/src/app/Scenes/HomeView/Components/ActivityIndicator.tsx +++ b/src/app/Scenes/HomeView/Components/ActivityIndicator.tsx @@ -10,8 +10,7 @@ interface ActivityIndicatorProps { } export const ActivityIndicator: React.FC = (props) => { - let { hasUnseenNotifications } = props - + const { hasUnseenNotifications } = props const tracking = useHomeViewTracking() const { enabled, variant, forceDots } = useActivityDotExperiment() @@ -19,7 +18,7 @@ export const ActivityIndicator: React.FC = (props) => { let BellVariant = BellWithSmallDot if (enabled && variant !== "control") BellVariant = BellWithLargeDot - hasUnseenNotifications = hasUnseenNotifications || forceDots + const displayUnseenNotifications = hasUnseenNotifications || forceDots const navigateToActivityPanel = () => { tracking.tappedNotificationBell() @@ -34,7 +33,7 @@ export const ActivityIndicator: React.FC = (props) => { onPress={navigateToActivityPanel} hitSlop={DEFAULT_HIT_SLOP} > - + ) @@ -73,8 +72,8 @@ const BellWithLargeDot: React.FC<{ hasUnseenNotifications: boolean }> = (props) {!!hasUnseenNotifications && (