diff --git a/x-pack/plugins/security/public/account_management/user_profile/user_profile.tsx b/x-pack/plugins/security/public/account_management/user_profile/user_profile.tsx index 820cb217ee2e77..3e7d15990e11d1 100644 --- a/x-pack/plugins/security/public/account_management/user_profile/user_profile.tsx +++ b/x-pack/plugins/security/public/account_management/user_profile/user_profile.tsx @@ -166,65 +166,63 @@ function UserSettingsEditor({ formik }: { formik: ReturnType } > - - - - - } - fullWidth - > - - ), - }, - { - id: 'light', - label: ( - - ), - iconType: 'sun', - }, - { - id: 'dark', - label: ( - - ), - iconType: 'moon', - }, - ]} - onChange={(id: string) => formik.setFieldValue('data.userSettings.darkMode', id)} - isFullWidth - /> - - + + + + } + fullWidth + > + + ), + }, + { + id: 'light', + label: ( + + ), + iconType: 'sun', + }, + { + id: 'dark', + label: ( + + ), + iconType: 'moon', + }, + ]} + onChange={(id: string) => formik.setFieldValue('data.userSettings.darkMode', id)} + isFullWidth + /> + ); }