app/frontend/apps/desktop/pages/personal-setting/composables/useThemeUpdate.ts
Function useThemeUpdate
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useThemeUpdate = (showSuccessNotification = false) => {
const setThemeMutation = new MutationHandler(useAccountAppearanceMutation(), {
errorNotificationMessage: __('The appearance could not be updated.'),
})