about summary refs log tree commit diff
path: root/pages/oboz/2020.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-25 16:37:09 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-25 16:37:09 +0100
commitf301358274fa1370d00211fc8d2bce848654ddcf (patch)
tree51213e61eb49ba3168258b2579f2e827aa42bc35 /pages/oboz/2020.vue
parentbe16cc5f0dcbde3ccf3be2c7a42847d57048f2b4 (diff)
downloadpuszcza-f301358274fa1370d00211fc8d2bce848654ddcf.tar.gz
puszcza-f301358274fa1370d00211fc8d2bce848654ddcf.zip
Add no-ssr
Diffstat (limited to 'pages/oboz/2020.vue')
-rw-r--r--pages/oboz/2020.vue14
1 files changed, 8 insertions, 6 deletions
diff --git a/pages/oboz/2020.vue b/pages/oboz/2020.vue
index a663e2f..5d61c69 100644
--- a/pages/oboz/2020.vue
+++ b/pages/oboz/2020.vue
@@ -8,9 +8,11 @@
         <h3>7 PDH Watra</h3>
       </div>
     </div>
-    <div class="countdown">
-      Do obozu zostało: <span>{{ days }} dni</span>
-    </div>
+    <no-ssr>
+      <div class="countdown">
+        Do obozu zostało: <span>{{ days }} dni</span>
+      </div>
+    </no-ssr>
     <div class="mapouter">
       <div class="gmap_canvas">
         <iframe
@@ -32,15 +34,15 @@
 import PurePostList from '~/components/Posts/PostList/PurePostList'
 export default {
   components: {
-    PurePostList
+    PurePostList,
   },
   computed: {
     days() {
       let now = new Date(Date.now())
       let oboz = new Date(2020, 7, 6)
       return Math.round((oboz.getTime() - now.getTime()) / 86400000)
-    }
-  }
+    },
+  },
 }
 </script>