Skip to content

Commit e396978

Browse files
committed
lint
1 parent 1a4103b commit e396978

File tree

7 files changed

+3870
-3516
lines changed

7 files changed

+3870
-3516
lines changed

apps/desktop/src/routes/(window-chrome)/(main).tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,12 @@ function Page() {
147147

148148
if (rawOptions.captureTarget.variant === "display") {
149149
const screenId = rawOptions.captureTarget.id;
150-
screen = _screens()?.find((s: any) => s.id === screenId) ?? _screens()?.[0];
150+
screen =
151+
_screens()?.find((s: any) => s.id === screenId) ?? _screens()?.[0];
151152
} else if (rawOptions.captureTarget.variant === "area") {
152153
const screenId = rawOptions.captureTarget.screen;
153-
screen = _screens()?.find((s: any) => s.id === screenId) ?? _screens()?.[0];
154+
screen =
155+
_screens()?.find((s: any) => s.id === screenId) ?? _screens()?.[0];
154156
}
155157

156158
return screen;
@@ -160,7 +162,8 @@ function Page() {
160162

161163
if (rawOptions.captureTarget.variant === "window") {
162164
const windowId = rawOptions.captureTarget.id;
163-
win = _windows()?.find((s: any) => s.id === windowId) ?? _windows()?.[0];
165+
win =
166+
_windows()?.find((s: any) => s.id === windowId) ?? _windows()?.[0];
164167
}
165168

166169
return win;

0 commit comments

Comments
 (0)