diff --git a/src/components/layout/page-header.tsx b/src/components/layout/page-header.tsx
index 081001c..c1f64ab 100644
--- a/src/components/layout/page-header.tsx
+++ b/src/components/layout/page-header.tsx
@@ -55,7 +55,7 @@ export function PageHeader(
{props.children}
- {props.actions}
+ {props.actions}
diff --git a/src/components/ui/data-table.test.tsx b/src/components/ui/data-table.test.tsx
index 19d91de..2fbe7f9 100644
--- a/src/components/ui/data-table.test.tsx
+++ b/src/components/ui/data-table.test.tsx
@@ -2,6 +2,7 @@ import { fireEvent, render, screen } from "@solidjs/testing-library";
import type { ColumnDef } from "@tanstack/solid-table";
import { DataTable } from "@/components/ui/data-table";
import { DataSection } from "@/components/ui/data-section";
+import { PageHeader } from "@/components/layout/page-header";
import { PreferencesProvider } from "@/stores/preferences-context";
type Row = { name: string; role?: string };
@@ -136,11 +137,12 @@ test("the header action toolbar of every shared host can shrink below its max-co
/>
Export} />
+ Export} />
>
));
const toolbars = screen.getAllByText("Export").map((action) => action.parentElement as HTMLElement);
- expect(toolbars).toHaveLength(2);
+ expect(toolbars).toHaveLength(3);
for (const toolbar of toolbars) {
expect(toolbar.classList).toContain("flex-wrap");
expect(toolbar.classList).toContain("min-w-0");