0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(console): mutate data after sie welcome done (#1447)

This commit is contained in:
Wang Sijie 2022-07-07 20:41:55 +08:00 committed by GitHub
parent d293de0d03
commit 33106aac93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,14 @@ const SignInExperience = () => {
}
if (!settings?.signInExperienceCustomized) {
return <Welcome mutate={mutateSettings} />;
return (
<Welcome
mutate={() => {
void mutateSettings();
void mutate();
}}
/>
);
}
return (