Switch to BiomeJS (#306)

This commit is contained in:
Gregory Schier
2025-11-23 08:38:13 -08:00
committed by GitHub
parent 2bac610efe
commit ec3e2e16a9
332 changed files with 3007 additions and 4097 deletions

View File

@@ -50,7 +50,7 @@ export function Tabs({
// Update tabs when value changes
useEffect(() => {
const tabs = ref.current?.querySelectorAll<HTMLDivElement>(`[data-tab]`);
const tabs = ref.current?.querySelectorAll<HTMLDivElement>('[data-tab]');
for (const tab of tabs ?? []) {
const v = tab.getAttribute('data-tab');
const parent = tab.closest('.tabs-container');
@@ -80,6 +80,7 @@ export function Tabs({
)}
>
<div
role="tablist"
aria-label={label}
className={classNames(
tabListClassName,
@@ -162,13 +163,12 @@ export function Tabs({
</Button>
</RadioDropdown>
);
} else {
return (
<Button key={t.value} rightSlot={t.rightSlot} {...btnProps}>
{t.label}
</Button>
);
}
return (
<Button key={t.value} rightSlot={t.rightSlot} {...btnProps}>
{t.label}
</Button>
);
})}
</div>
</div>