File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,6 @@ const modalsStore = useModalsStore()
2424const route = useRoute ()
2525const router = useRouter ()
2626
27- if (! (isMainnet () && !! rollupRankingServiceURL ())) {
28- router .push (" /" )
29- } else {
30- await fetchData ()
31- }
32-
3327// Pagination
3428const limit = 10
3529const page = ref (1 )
@@ -51,6 +45,12 @@ const repos = ref([])
5145const commits = ref ([])
5246const totalCommits = computed (() => commits .value ? .reduce ((acc , c ) => acc + c .amount , 0 ))
5347
48+ if (! (isMainnet () && !! rollupRankingServiceURL ())) {
49+ router .push (" /" )
50+ } else {
51+ await fetchData ()
52+ }
53+
5454function getMetricDescription (metric ) {
5555 switch (metric) {
5656 case " blobs" :
@@ -71,7 +71,7 @@ function getMetricDescription(metric) {
7171}
7272const chartEl = ref (null )
7373
74- const getRollupRepos = async (slug ) => {
74+ async function getRollupRepos (slug ) {
7575 const data = await fetchRollupOrgReposBySlug ({
7676 slug: slug,
7777 limit: limit,
You can’t perform that action at this time.
0 commit comments