From 5ab283657ec87eeba774db6747edfab49d1eda45 Mon Sep 17 00:00:00 2001 From: Grigory Date: Fri, 6 Feb 2026 08:12:08 +0500 Subject: [PATCH] Fix `isPrivateUserProfile` --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index b731413..ae28605 100644 --- a/index.ts +++ b/index.ts @@ -722,7 +722,7 @@ TEST: addTests('isGistProfile', [ export const isUserProfile = (): boolean => isProfile() && !isOrganizationProfile(); -export const isPrivateUserProfile = (): boolean => isUserProfile() && !exists('.UnderlineNav-item[href$="tab=stars"]'); +export const isPrivateUserProfile = (): boolean => isUserProfile() && exists('#user-private-profile-frame'); export const isUserProfileMainTab = (): boolean => isUserProfile()