Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
onmax committed Aug 16, 2024
1 parent 64207c4 commit 4daa236
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 28 deletions.
4 changes: 2 additions & 2 deletions app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const validatorDetail = computed(() => !!route.params.address)
const networkName = useRuntimeConfig().public.nimiqNetwork
const { data: health } = useFetch('/api/health')
const { data: health } = useFetch('/api/vts/health')
</script>

<template>
Expand All @@ -22,7 +22,7 @@ const { data: health } = useFetch('/api/health')
Go back
</NuxtLink>
<div flex-auto />
<NuxtLink to="/health" :class="{ 'bg-green/10 text-green': health?.isSynced, 'bg-red/10 text-red': !health?.isSynced}" px-12 py-4 rounded-full text-11 flex="~ items-center gap-6">
<NuxtLink to="/vts/health" :class="{ 'bg-green/10 text-green': health?.isSynced, 'bg-red/10 text-red': !health?.isSynced}" px-12 py-4 rounded-full text-11 flex="~ items-center gap-6">
<div text-10 :class="health?.isSynced ? 'i-nimiq:check' : 'i-nimiq:alert'"/>
<span font-semibold>{{ health?.isSynced ? 'Synced' : 'Not Synced' }}</span>
</NuxtLink>
Expand Down
25 changes: 0 additions & 25 deletions app/pages/[...slug].vue

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export default defineNuxtConfig({
},

imports: {
mergeExisting: true,
presets: ['@vueuse/core'],
},

Expand Down

0 comments on commit 4daa236

Please sign in to comment.