Skip to content

Commit

Permalink
fix: check if client to get os
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Jul 30, 2024
1 parent 6a04e01 commit fc09a17
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/sections/CoinSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,10 @@ const size = computed(() => {
})
onMounted(async () => {
const latestRelease = await getLatestRelease(window.navigator)
release.value = latestRelease
if (import.meta.client) {
const latestRelease = await getLatestRelease(window.navigator)
release.value = latestRelease
}
})
// const { t } = useI18n()
Expand Down

0 comments on commit fc09a17

Please sign in to comment.