Explorar el Código

:recycle: unneeded await | no setting intersection from mounted

tags/0.9.0
J hace 4 años
padre
commit
3fef10dae3
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1
    2
      vue-theme/src/pages/list.vue

+ 1
- 2
vue-theme/src/pages/list.vue Ver fichero

@@ -189,7 +189,7 @@ export default {
189 189
             this.page = 0
190 190
             this.keepFetching = true
191 191
 
192
-            await this.checkAndSetHero(this.type)
192
+            this.checkAndSetHero(this.type)
193 193
 
194 194
             // Fires when loading from home
195 195
             // Clear any preloaded posts (from home, etc.)
@@ -228,7 +228,6 @@ export default {
228 228
         }
229 229
     },
230 230
     mounted() {
231
-        this.setIntersectionLoader()
232 231
         console.log('init from mounted...')
233 232
         this.clearAndInitPostList()
234 233
     },

Loading…
Cancelar
Guardar