zammad/zammad

View on GitHub
app/frontend/apps/desktop/pages/personal-setting/composables/useThemeUpdate.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useThemeUpdate has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useThemeUpdate = (showSuccessNotification = false) => {
  const setThemeMutation = new MutationHandler(useAccountAppearanceMutation(), {
    errorNotificationMessage: __('The appearance could not be updated.'),
  })

    There are no issues that match your filters.

    Category
    Status