style: prettier

This commit is contained in:
2026-09-27 15:17:02 +02:00
parent acf93a1f36
commit 595c29e17c
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -155,8 +155,7 @@ function CardTitle({
onClick={
onClick &&
((e) => {
if (!endsTextSelection(e) && !movedPastSlop(pressedAt.current, e))
onClick();
if (!endsTextSelection(e) && !movedPastSlop(pressedAt.current, e)) onClick();
})
}
onMouseDown={(e) => {
+3 -3
View File
@@ -50,9 +50,9 @@ describe("the Plex player's layers", () => {
for (const c of popovers) expect(c).toMatch(/\bz-menu\b/);
// The tracks list and the ⋯ menu are on the popover engine (E28 review D3), which lifts them to
// z-popover — above the player's own z-overlay — and into the fullscreen element.
expect([...src.matchAll(/<PopoverSurface\b[^>]*?className=\{`\$\{PLAYER_MENU\}/g)]).toHaveLength(
2,
);
expect([
...src.matchAll(/<PopoverSurface\b[^>]*?className=\{`\$\{PLAYER_MENU\}/g),
]).toHaveLength(2);
});
it("keeps the notices a level below", () => {