Skip to content

Commit 01d39db

Browse files
chore: biome
1 parent 88351bb commit 01d39db

4 files changed

Lines changed: 14 additions & 15 deletions

File tree

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Metadata } from "next"
2-
import { Poppins, Geist } from "next/font/google"
2+
import { Geist, Poppins } from "next/font/google"
33
import "@/index.css"
44
import { HEADER_HEIGHT } from "@/components/header"
55
import { ThemeProvider } from "@/components/theme-provider"

src/components/code.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ export function Code({ block = false, copyOnClick = false, children, className,
2727

2828
const InteractiveWrapper = copyOnClick
2929
? ({ children: content }: { children: ReactNode }) => (
30-
<button
31-
type="button"
32-
onClick={copy}
33-
className={cn(
34-
"appearance-none border-0 bg-transparent p-0 text-left outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
35-
block ? "block w-full" : "inline"
36-
)}
37-
aria-label={block ? "Copy code block" : "Copy code"}
38-
>
39-
{content}
40-
</button>
41-
)
30+
<button
31+
type="button"
32+
onClick={copy}
33+
className={cn(
34+
"appearance-none border-0 bg-transparent p-0 text-left outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
35+
block ? "block w-full" : "inline"
36+
)}
37+
aria-label={block ? "Copy code block" : "Copy code"}
38+
>
39+
{content}
40+
</button>
41+
)
4242
: ({ children: content }: { children: ReactNode }) => <>{content}</>
4343

4444
if (block) {

src/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,3 @@
174174
@theme {
175175
--breakpoint-xs: 30rem;
176176
}
177-

src/lib/utils/shadcn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { clsx, type ClassValue } from "clsx"
1+
import { type ClassValue, clsx } from "clsx"
22
import { twMerge } from "tailwind-merge"
33

44
export function cn(...inputs: ClassValue[]) {

0 commit comments

Comments
 (0)