kodadot/nft-gallery

View on GitHub
stores/preferences.ts

Summary

Maintainability
B
6 hrs
Test Coverage

usePreferencesStore has 29 functions (exceeds 20 allowed). Consider refactoring.
Open

  actions: {
    setSidebarFilterCollapse(payload) {
      this.sidebarFilterCollapseOpen = payload
    },
    setMobileFilterCollapse(payload) {
Severity: Minor
Found in stores/preferences.ts - About 3 hrs to fix

    usePreferencesStore has 25 functions (exceeds 20 allowed). Consider refactoring.
    Open

      getters: {
        getsidebarFilterCollapse: state => state.sidebarFilterCollapseOpen,
        getMobileFilterCollapse: state => state.mobileFilterCollapseOpen,
        getShoppingCartCollapse: state => state.shoppingCartCollapseOpen,
        getCompletePurchaseModal: state => state.completePurchaseModal,
    Severity: Minor
    Found in stores/preferences.ts - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status