Skip to content

Commit 7868dd1

Browse files
author
Kent C. Dodds
committed
undo something
1 parent b7b3056 commit 7868dd1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/query-helpers.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ function getElementError(message, container) {
3232
function firstResultOrNull(queryFunction, ...args) {
3333
const result = queryFunction(...args)
3434
if (result.length === 0) return null
35-
if (result.length > 1) return null
3635
return result[0]
3736
}
3837

0 commit comments

Comments
 (0)