We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isPrivateUserProfile
1 parent cf7ea99 commit f7cf628Copy full SHA for f7cf628
index.ts
@@ -558,6 +558,8 @@ collect.set('isProfile', [
558
559
export const isUserProfile = (): boolean => isProfile() && !isOrganizationProfile();
560
561
+export const isPrivateUserProfile = (): boolean => isUserProfile() && !exists('.user-following-container');
562
+
563
export const isUserProfileMainTab = (): boolean =>
564
isUserProfile()
565
&& !new URLSearchParams(location.search).has('tab');
0 commit comments