From 7dea8b07cf72157696b469e5696dd809a0a485ff Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 7 Jan 2025 20:07:01 -0600 Subject: [PATCH] Use ANyProfileView --- src/components/hooks/useFollowMethods.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/hooks/useFollowMethods.ts b/src/components/hooks/useFollowMethods.ts index d67c3690f9..ffce60ea2c 100644 --- a/src/components/hooks/useFollowMethods.ts +++ b/src/components/hooks/useFollowMethods.ts @@ -1,5 +1,4 @@ import React from 'react' -import {AppBskyActorDefs} from '@atproto/api' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' @@ -9,12 +8,13 @@ import {Shadow} from '#/state/cache/types' import {useProfileFollowMutationQueue} from '#/state/queries/profile' import {useRequireAuth} from '#/state/session' import * as Toast from '#/view/com/util/Toast' +import * as atp from '#/types/atproto' export function useFollowMethods({ profile, logContext, }: { - profile: Shadow + profile: Shadow logContext: LogEvents['profile:follow']['logContext'] & LogEvents['profile:unfollow']['logContext'] }) {