Skip to content

Commit c9ebece

Browse files
authored
FakeProfileThemes: Fix broken ProfileModal find (#3766)
1 parent 6bbc478 commit c9ebece

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/plugins/fakeProfileThemes/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ interface ProfileModalProps {
9595
canUsePremiumCustomization: boolean;
9696
hideExampleButton: boolean;
9797
hideFakeActivity: boolean;
98-
isTryItOutFlow: boolean;
98+
isTryItOut: boolean;
9999
}
100100

101-
const ProfileModal = findComponentByCodeLazy<ProfileModalProps>("isTryItOutFlow:", "pendingThemeColors:", "pendingAvatarDecoration:", "EDIT_PROFILE_BANNER");
101+
const ProfileModal = findComponentByCodeLazy<ProfileModalProps>("isTryItOut:", "pendingThemeColors:", "pendingAvatarDecoration:", "EDIT_PROFILE_BANNER");
102102

103103
function SettingsAboutComponentWrapper() {
104104
const [, , userProfileLoading] = useAwaiter(() => fetchUserProfile(UserStore.getCurrentUser().id));
@@ -188,7 +188,7 @@ function SettingsAboutComponent() {
188188
canUsePremiumCustomization={true}
189189
hideExampleButton={true}
190190
hideFakeActivity={true}
191-
isTryItOutFlow={true}
191+
isTryItOut={true}
192192
/>
193193
</div>
194194
</Forms.FormText>

0 commit comments

Comments
 (0)