Remove redundant files and update pnpm lockfile

This commit is contained in:
giancarlo
2024-04-30 22:16:38 +07:00
parent 9eded69f15
commit 19aa40493f
78 changed files with 8835 additions and 10056 deletions

View File

@@ -19,10 +19,10 @@ import {
import { cn, isRouteActive } from '../utils';
import { SidebarContext } from './context/sidebar.context';
import { If } from './if';
import { SidebarConfigSchema } from './sidebar-schema';
import { NavigationConfigSchema } from './navigation-config.schema';
import { Trans } from './trans';
export type SidebarConfig = z.infer<typeof SidebarConfigSchema>;
export type SidebarConfig = z.infer<typeof NavigationConfigSchema>;
export function Sidebar(props: {
collapsed?: boolean;
@@ -167,7 +167,7 @@ export function SidebarItem({
<Button
asChild
className={cn('flex w-full text-sm shadow-none', {
'justify-start space-x-2': !collapsed,
'justify-start space-x-2.5': !collapsed,
})}
size={size}
variant={variant}