style(labs): format the filter rail files

This commit is contained in:
Marc-André Bombeck committed 2026-11-11 00:22:26 +01:00
1 parent c59f4d7e65
commit ba3ee968c7
11 files changed
+74 -45

No files matched your search

@@ -112,10 +112,7 @@ function FilterRail({ syncToUrl = true }: { syncToUrl?: boolean }) {
<button
type="button"
onClick={() =>
patchFilters(
{ type: "PULSE" },
{ mode: "replace", afterPaint: true },
)
patchFilters({ type: "PULSE" }, { mode: "replace", afterPaint: true })
}
>
Defer replace type
@@ -208,7 +205,9 @@ describe("useUrlFilterSync with FilterBar", () => {
const { screen, history } = await mount("?type=WEIGHT");
const entries = window.history.length;
(
screen.getByRole("button", { name: "Defer replace type" }).element() as HTMLButtonElement
screen
.getByRole("button", { name: "Defer replace type" })
.element() as HTMLButtonElement
).click();
// Immediately after trigger, the write is deferred until after paint: