fix: remove checking buf until I can figure out how to not use buf.lock

This commit is contained in:
2025-05-12 12:19:03 -04:00
parent bfc1580218
commit 95ce559ff3
107 changed files with 630 additions and 658 deletions

View File

@ -1,12 +1,12 @@
<script lang="ts">
import { Pagination as PaginationPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
import { type Props, buttonVariants } from "$lib/ui/button";
import { Pagination as PaginationPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { type Props, buttonVariants } from '$lib/ui/button';
let {
ref = $bindable(null),
class: className,
size = "icon",
size = 'icon',
isActive = false,
page,
children,
@ -24,13 +24,13 @@
<PaginationPrimitive.Page
bind:ref
{page}
aria-current={isActive ? "page" : undefined}
aria-current={isActive ? 'page' : undefined}
data-slot="pagination-link"
data-active={isActive}
class={cn(
buttonVariants({
variant: "ghost",
size,
variant: 'ghost',
size
}),
'text-text',
isActive && 'bg-surface-1',