Skip to content

Commit

Permalink
chore: fix code with rule change
Browse files Browse the repository at this point in the history
  • Loading branch information
tosaken1116 committed Nov 8, 2023
1 parent 25e3658 commit 9ca9ecb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/ui/Tag/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { FC, HTMLAttributes, ReactNode } from 'react';

import { cva, type VariantProps } from 'class-variance-authority';
import { cva } from 'class-variance-authority';
import Link from 'next/link';

import type { VariantProps } from 'class-variance-authority';
import type { LinkProps as NextLinkProps } from 'next/link';

import { cn } from '@/libs/utils';
Expand Down
4 changes: 3 additions & 1 deletion src/libs/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { type ClassValue, clsx } from 'clsx';
import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';

import type { ClassValue } from 'clsx';

export const cn = (...inputs: ClassValue[]): string => twMerge(clsx(inputs));

0 comments on commit 9ca9ecb

Please sign in to comment.