From c076fcd491153142c4f31279875c78d96143c8b4 Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 25 Apr 2023 11:02:27 -0400 Subject: [PATCH] PR feedback --- .../user_profile/user_profile.tsx | 116 +++++++++--------- 1 file changed, 57 insertions(+), 59 deletions(-) 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 + /> + ); }