Skip to content

Commit c92423f

Browse files
chore: biome fix
1 parent bf7453b commit c92423f

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

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/lib/trpc/client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
import { type AppRouter, TRPC_PATH } from "@polinetwork/backend"
44
import type { QueryClient } from "@tanstack/react-query"
5-
import superjson from "superjson"
65
import { QueryClientProvider } from "@tanstack/react-query"
76
import { createTRPCClient, httpBatchLink } from "@trpc/client"
87
import { createTRPCContext } from "@trpc/tanstack-react-query"
98
import { useState } from "react"
9+
import superjson from "superjson"
1010
import { getBaseUrl } from "../utils"
1111
import { makeQueryClient } from "./query-client"
1212
export const { TRPCProvider, useTRPC } = createTRPCContext<AppRouter>()

0 commit comments

Comments
 (0)