0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-04-07 23:01:25 -05:00

fix(console): fix forgotpassword not shown on preview (#2443)

This commit is contained in:
simeng-li 2022-11-15 15:27:57 +08:00 committed by GitHub
parent 2303a787ef
commit 3b28b1d38d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,15 +106,15 @@ const Preview = ({ signInExperience, className }: Props) => {
signInExperience: {
...signInExperience,
socialConnectors,
forgotPassword: {
email: hasEmailConnector,
sms: hasSmsConnector,
},
},
language,
mode,
platform: platform === 'desktopWeb' ? 'web' : 'mobile',
isNative: platform === 'mobile',
forgotPassword: {
email: hasEmailConnector,
sms: hasSmsConnector,
},
};
}, [allConnectors, language, mode, platform, signInExperience]);