Skip to content

Commit 93d0102

Browse files
Fix isPrivateUserProfile (#230)
1 parent 3b9312e commit 93d0102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ TEST: addTests('isGistProfile', [
722722

723723
export const isUserProfile = (): boolean => isProfile() && !isOrganizationProfile();
724724

725-
export const isPrivateUserProfile = (): boolean => isUserProfile() && !exists('.UnderlineNav-item[href$="tab=stars"]');
725+
export const isPrivateUserProfile = (): boolean => isUserProfile() && exists('#user-private-profile-frame');
726726

727727
export const isUserProfileMainTab = (): boolean =>
728728
isUserProfile()

0 commit comments

Comments
 (0)