Skip to content

Commit

Permalink
fix: handle API offline
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Jan 24, 2024
1 parent b366b41 commit 6ca1fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/posts/[domain].vue
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@
<template v-else>
<h3>Failed to load posts</h3>
<span class="w-full overflow-x-auto text-base">
{{ error.data.message ?? error.message }}
{{ error.data?.message ?? error.message }}
</span>
</template>

Expand Down

0 comments on commit 6ca1fae

Please sign in to comment.