feat: replace clsx with cn util

This commit is contained in:
Ilia Mashkov
2026-04-23 09:48:32 +03:00
parent cffebf05e3
commit 54087b7b2a
34 changed files with 91 additions and 92 deletions
@@ -5,8 +5,8 @@
<script lang="ts">
import { NavigationWrapper } from '$entities/Breadcrumb';
import type { ResponsiveManager } from '$shared/lib';
import { cn } from '$shared/lib';
import { Section } from '$shared/ui';
import clsx from 'clsx';
import {
getContext,
untrack,
@@ -38,7 +38,7 @@ $effect(() => {
headerAction={registerAction}
>
{#snippet content({ className })}
<div class={clsx(className, !responsive.isDesktopLarge && 'col-start-0 col-span-2')}>
<div class={cn(className, !responsive.isDesktopLarge && 'col-start-0 col-span-2')}>
<FontSearch bind:showFilters={isExpanded} />
</div>
{/snippet}