Alex Swiontek před 7 roky
rodič
revize
a65d8c519f
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      examples/counter-hot/store/getters.js

+ 1 - 2
examples/counter-hot/store/getters.js

@@ -7,6 +7,5 @@ export const recentHistory = state => {
   const begin = end - limit < 0 ? 0 : end - limit
   return state.history
     .slice(begin, end)
-    .toString()
-    .replace(/,/g, ', ')
+    .join(', ')
 }