Skip to content

Commit

Permalink
avoid multiple change theme
Browse files Browse the repository at this point in the history
  • Loading branch information
tongsonbarbs committed Dec 9, 2024
1 parent 7e70179 commit edcfc62
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ fixture.disablePageReloads`DataGrid - contrast`
},
).after(
async () => {
if (theme === Themes.genericLight) {
return;
}
await changeTheme(Themes.genericLight);
},
);
Expand Down

0 comments on commit edcfc62

Please sign in to comment.