From 8e9ce5716505c09d2c3bfd2e838f27c0edb35cb7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 00:14:02 +0000 Subject: [PATCH] Deactivate profile follow control Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com> --- src/apps/profile/index.tsx | 66 ++------------------------------------ 1 file changed, 3 insertions(+), 63 deletions(-) diff --git a/src/apps/profile/index.tsx b/src/apps/profile/index.tsx index b2ef435..eaf709c 100644 --- a/src/apps/profile/index.tsx +++ b/src/apps/profile/index.tsx @@ -1,7 +1,7 @@ -import { useEffect, useMemo } from 'react'; +import { useEffect } from 'react'; import { useNostr } from '@nostrify/react'; -import { useQuery, useQueryClient } from '@tanstack/react-query'; -import { Check, Copy, Globe, Loader2, UserMinus, UserPlus } from 'lucide-react'; +import { useQuery } from '@tanstack/react-query'; +import { Check, Copy, Globe } from 'lucide-react'; import type { NostrEvent } from '@nostrify/nostrify'; import { AppBody, AppLayout, AppToolbar, EmptyState } from '@/components/os/AppChrome'; import { ModerationMenu } from '@/components/nostr/ModerationMenu'; @@ -12,8 +12,6 @@ import { Button } from '@/components/ui/button'; import { Skeleton } from '@/components/ui/skeleton'; import { useAuthor } from '@/hooks/useAuthor'; import { useCurrentUser } from '@/hooks/useCurrentUser'; -import { useMyFollows } from '@/hooks/useFollows'; -import { useNostrPublish } from '@/hooks/useNostrPublish'; import { useToast } from '@/hooks/useToast'; import { decodeRelayHints, displayName, isReply, npubOf, sanitizeUrl } from '@/lib/nostrUtils'; import type { AppProps } from '@/os/types'; @@ -74,7 +72,6 @@ export default function ProfileApp({ params, setTitle }: AppProps) { {name}