FakeProfileThemes: Fix broken ProfileModal find (#3766)
This commit is contained in:
parent
6bbc4783cd
commit
c9ebece84d
1 changed files with 3 additions and 3 deletions
|
|
@ -95,10 +95,10 @@ interface ProfileModalProps {
|
|||
canUsePremiumCustomization: boolean;
|
||||
hideExampleButton: boolean;
|
||||
hideFakeActivity: boolean;
|
||||
isTryItOutFlow: boolean;
|
||||
isTryItOut: boolean;
|
||||
}
|
||||
|
||||
const ProfileModal = findComponentByCodeLazy<ProfileModalProps>("isTryItOutFlow:", "pendingThemeColors:", "pendingAvatarDecoration:", "EDIT_PROFILE_BANNER");
|
||||
const ProfileModal = findComponentByCodeLazy<ProfileModalProps>("isTryItOut:", "pendingThemeColors:", "pendingAvatarDecoration:", "EDIT_PROFILE_BANNER");
|
||||
|
||||
function SettingsAboutComponentWrapper() {
|
||||
const [, , userProfileLoading] = useAwaiter(() => fetchUserProfile(UserStore.getCurrentUser().id));
|
||||
|
|
@ -188,7 +188,7 @@ function SettingsAboutComponent() {
|
|||
canUsePremiumCustomization={true}
|
||||
hideExampleButton={true}
|
||||
hideFakeActivity={true}
|
||||
isTryItOutFlow={true}
|
||||
isTryItOut={true}
|
||||
/>
|
||||
</div>
|
||||
</Forms.FormText>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue