Skip to content

Commit 25b8ea2

Browse files
committed
fix: fix undebounced query
1 parent 1ce8510 commit 25b8ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pages/search.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ const showClaimPrompt = computed(() => {
357357
return (
358358
isValidPackageName.value &&
359359
packageAvailability.value?.available === true &&
360-
packageAvailability.value.name === query.value.trim() &&
360+
packageAvailability.value.name === committedQuery.value.trim() &&
361361
(!isConnected.value || (isConnected.value && canPublishToScope.value)) &&
362362
status.value !== 'pending'
363363
)

0 commit comments

Comments
 (0)