From aff2332513cdee05edcf955dd603ad189009f5f1 Mon Sep 17 00:00:00 2001 From: Takayuki KUSANO <65759+tkusano@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:29:48 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"=F0=9F=AA=B5=F0=9F=93=8C=20(#5594)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 3ab5190aca767b9ed1900a84eab538f41000526c. --- src/lib/statsig/events.ts | 2 -- src/view/com/util/forms/PostDropdownBtn.tsx | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts index 9a306ee4f4..c9bc8fefb2 100644 --- a/src/lib/statsig/events.ts +++ b/src/lib/statsig/events.ts @@ -145,8 +145,6 @@ export type LogEvents = { } 'post:mute': {} 'post:unmute': {} - 'post:pin': {} - 'post:unpin': {} 'profile:follow:sampled': { didBecomeMutual: boolean | undefined followeeClout: number | undefined diff --git a/src/view/com/util/forms/PostDropdownBtn.tsx b/src/view/com/util/forms/PostDropdownBtn.tsx index 33287564a7..fe6efc02fa 100644 --- a/src/view/com/util/forms/PostDropdownBtn.tsx +++ b/src/view/com/util/forms/PostDropdownBtn.tsx @@ -22,7 +22,6 @@ import {getCurrentRoute} from '#/lib/routes/helpers' import {makeProfileLink} from '#/lib/routes/links' import {CommonNavigatorParams, NavigationProp} from '#/lib/routes/types' import {shareUrl} from '#/lib/sharing' -import {logEvent} from '#/lib/statsig/statsig' import {richTextToString} from '#/lib/strings/rich-text-helpers' import {toShareUrl} from '#/lib/strings/url-helpers' import {useTheme} from '#/lib/ThemeContext' @@ -351,7 +350,6 @@ let PostDropdownBtn = ({ ]) const onPressPin = useCallback(() => { - logEvent(isPinned ? 'post:unpin' : 'post:pin', {}) pinPostMutate({ postUri, postCid,