remove unused code

This commit is contained in:
Alejandro Gomez 2023-01-27 08:16:06 +01:00
parent cfbf244955
commit a500c040f9
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817
1 changed files with 0 additions and 2 deletions

View File

@ -38,8 +38,6 @@ export default function ProfilePage() {
const id = useMemo(() => parseId(params.id!), [params]);
const user = useProfile(id)?.get(id);
const loggedOut = useSelector<RootState, boolean | undefined>(s => s.login.loggedOut);
const muted = useSelector<RootState, HexKey[]>(s => s.login.muted);
const isMuted = useMemo(() => muted.includes(id), [muted, id])
const loginPubKey = useSelector<RootState, HexKey | undefined>(s => s.login.publicKey);
const follows = useSelector<RootState, HexKey[]>(s => s.login.follows);
const isMe = loginPubKey === id;