Explorar o código

clean code: dummyTitle dummyTitleForError

kaori %!s(int64=3) %!d(string=hai) anos
pai
achega
aeb8cb1c7f
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      packages/app/src/client/services/AdminAppContainer.js

+ 1 - 5
packages/app/src/client/services/AdminAppContainer.js

@@ -11,13 +11,9 @@ export default class AdminAppContainer extends Container {
   constructor() {
   constructor() {
     super();
     super();
 
 
-    this.dummyTitle = 0;
-    this.dummyTitleForError = 1;
-
     this.state = {
     this.state = {
       retrieveError: null,
       retrieveError: null,
-      // set dummy value tile for using suspense
-      title: this.dummyTitle,
+      title: '',
       confidential: '',
       confidential: '',
       globalLang: '',
       globalLang: '',
       isEmailPublishedForNewUser: true,
       isEmailPublishedForNewUser: true,