diff --git a/src/components/ChartsNavigation.vue b/src/components/ChartsNavigation.vue index 91bb00217..eb09adfac 100644 --- a/src/components/ChartsNavigation.vue +++ b/src/components/ChartsNavigation.vue @@ -16,6 +16,11 @@ class="charts-navigation__link"> Smart Contracts + + Names + diff --git a/src/components/ContractsChartPanel.vue b/src/components/ContractsChartPanel.vue index a2703d5c4..830e8f1a7 100644 --- a/src/components/ContractsChartPanel.vue +++ b/src/components/ContractsChartPanel.vue @@ -44,9 +44,11 @@ await useAsyncData(async() => { return true }) -watch(selectedRange, async() => { - await loadContractsStatistics() -}) +if (process.client) { + watch(selectedRange, async() => { + await loadContractsStatistics() + }) +} async function loadContractsStatistics() { await fetchContractsStatistics( diff --git a/src/components/KeyblocksChartPanel.vue b/src/components/KeyblocksChartPanel.vue index 176788325..e3e5e4b2e 100644 --- a/src/components/KeyblocksChartPanel.vue +++ b/src/components/KeyblocksChartPanel.vue @@ -35,9 +35,11 @@ await useAsyncData(async() => { return true }) -watch(selectedRange, async() => { - await loadKeyblockStatistics() -}) +if (process.client) { + watch(selectedRange, async() => { + await loadKeyblockStatistics() + }) +} async function loadKeyblockStatistics() { await fetchKeyblocksStatistics( diff --git a/src/components/NamesChartPanel.vue b/src/components/NamesChartPanel.vue index 9b9a463d2..2f952a2ea 100644 --- a/src/components/NamesChartPanel.vue +++ b/src/components/NamesChartPanel.vue @@ -22,14 +22,21 @@ diff --git a/src/pages/names/index.vue b/src/pages/names/index.vue index c6261acc8..0a5cf45f9 100644 --- a/src/pages/names/index.vue +++ b/src/pages/names/index.vue @@ -15,7 +15,9 @@