Skip to content

Commit

Permalink
fix: TS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelodelain committed Jun 13, 2024
1 parent bdc3711 commit 3dc4596
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/molecules/VRoadizVideo/VRoadizVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ const dimension = computed(() => {
})
const videoRatio = computed(() => {
const ratio = Number(dimension.value.width) / Number(dimension.value.height)
if (typeof ratio === 'number') return ratio
return Number(dimension.value.width) / Number(dimension.value.height)
})
const embedVideoAttrs = computed(() => {
Expand Down

0 comments on commit 3dc4596

Please sign in to comment.