fix lint errors

This commit is contained in:
Labhansh Agrawal 2023-07-10 19:26:33 +05:30
parent 28321236d6
commit ab3d4b7e8f
2 changed files with 10 additions and 5 deletions

View file

@ -112,7 +112,11 @@ const Tab = (props: TabProps) => {
}
.tab_icon {
transition: opacity 0.2s ease, color 0.2s ease, transform 0.25s ease, background-color 0.1s ease;
transition:
opacity 0.2s ease,
color 0.2s ease,
transform 0.25s ease,
background-color 0.1s ease;
pointer-events: none;
position: absolute;
right: 7px;

View file

@ -38,7 +38,8 @@ test.before(async () => {
test.after(async () => {
await app
.evaluate(({BrowserWindow}) =>
.evaluate(
({BrowserWindow}) =>
BrowserWindow.getFocusedWindow()
?.capturePage()
.then((img) => img.toPNG().toString('base64'))