Yuki Takei 4 лет назад
Родитель
Сommit
cd6201cbf0
1 измененных файлов с 0 добавлено и 7 удалено
  1. 0 7
      packages/app/src/client/services/NavigationContainer.js

+ 0 - 7
packages/app/src/client/services/NavigationContainer.js

@@ -31,8 +31,6 @@ export default class NavigationContainer extends Container {
       isDrawerMode: null,
       isDrawerMode: null,
       isDrawerOpened: false,
       isDrawerOpened: false,
 
 
-      sidebarContentsId: localStorage.sidebarContentsId || 'recent',
-
       isScrollTop: true,
       isScrollTop: true,
     };
     };
 
 
@@ -186,11 +184,6 @@ export default class NavigationContainer extends Container {
     this.setState({ isDrawerMode, isDrawerOpened });
     this.setState({ isDrawerMode, isDrawerOpened });
   }
   }
 
 
-  selectSidebarContents(contentsId) {
-    window.localStorage.setItem('sidebarContentsId', contentsId);
-    this.setState({ sidebarContentsId: contentsId });
-  }
-
   /**
   /**
    * Function that implements the click event for realizing smooth scroll
    * Function that implements the click event for realizing smooth scroll
    * @param {array} elements
    * @param {array} elements