Skip to content

Commit

Permalink
Merge branch 'main' into fixAxis
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Apr 29, 2024
2 parents 9f6ff6a + 74ee821 commit 44fe780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/utils/a11y.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function waitUntil(
tries?: number
): Promise<void> {
return new Promise((resolve, rej) => {
const isPromise = typeof condition() === 'boolean';
const isPromise = typeof condition() !== 'boolean';
const interval = setInterval(() => {
if (tries && --tries === 0) {
error(new Error('waitUntil ran out of tries'));
Expand Down

0 comments on commit 44fe780

Please sign in to comment.