Skip to content

Commit

Permalink
reverse priority lint
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSero committed Jun 18, 2024
1 parent baa0ca9 commit ad30d4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallets/metamask/src/pages/NotificationPage/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class NotificationPage {
const scrollDownButton = notificationPage.locator(Selectors.SignaturePage.structuredMessage.scrollDownButton)

let isScrollButtonVisible = false

const scrollButtonPromise = scrollDownButton
.waitFor({ state: 'visible' })
.then(async () => {
Expand All @@ -45,7 +45,7 @@ export class NotificationPage {
})
.catch(() => false)

await Promise.race([notificationPage.waitForLoadState('load').then(() => false), scrollButtonPromise]);
await Promise.race([notificationPage.waitForLoadState('load').then(() => false), scrollButtonPromise])

return {
notificationPage,
Expand Down

0 comments on commit ad30d4b

Please sign in to comment.