style: prettier
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user