mirror of
https://github.com/logto-io/logto.git
synced 2025-01-20 21:32:31 -05:00
Merge pull request #2230 from logto-io/simeng-hot-fix
fix(ui): fix prefiew render bug
This commit is contained in:
commit
b8916adea9
1 changed files with 2 additions and 2 deletions
|
@ -80,9 +80,9 @@ const usePreview = (context: Context): [boolean, PreviewConfig?] => {
|
|||
|
||||
setPlatform(platform);
|
||||
|
||||
setExperienceSettings(experienceSettings);
|
||||
|
||||
await changeLanguage(language);
|
||||
|
||||
setExperienceSettings(experienceSettings);
|
||||
})();
|
||||
}, [isPreview, previewConfig, setExperienceSettings, setPlatform, setTheme]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue