Skip to content

Commit

Permalink
fix: sonarcloud Use the opposite operator (<=) instead
Browse files Browse the repository at this point in the history
  • Loading branch information
hassnian committed Dec 14, 2023
1 parent 86277e8 commit 73b8963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/collection/drop/modal/DropConfirmModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const moveSuccessfulDrop = computed(() => {
return true
}
return !(distance.value > 0) && sanitizedMintedNft.value && retry.value === 0
return distance.value <= 0 && sanitizedMintedNft.value && retry.value === 0
})
const title = computed(() => {
Expand Down

0 comments on commit 73b8963

Please sign in to comment.