mirror of
https://github.com/strapi/strapi.git
synced 2025-09-21 14:31:16 +00:00
fix failing test
This commit is contained in:
parent
f4908a8a21
commit
f704024bdf
@ -153,9 +153,6 @@ const ProfilePage = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const { email, firstname, lastname, username, preferedLanguage } = data;
|
|
||||||
const initialData = { email, firstname, lastname, username, preferedLanguage, currentTheme };
|
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
return (
|
return (
|
||||||
<Main aria-busy="true">
|
<Main aria-busy="true">
|
||||||
@ -179,6 +176,8 @@ const ProfilePage = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const hasLockedRole = dataSSO?.isSSOLocked;
|
const hasLockedRole = dataSSO?.isSSOLocked;
|
||||||
|
const { email, firstname, lastname, username, preferedLanguage } = data;
|
||||||
|
const initialData = { email, firstname, lastname, username, preferedLanguage, currentTheme };
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Main aria-busy={isSubmittingForm}>
|
<Main aria-busy={isSubmittingForm}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user