Skip to content

Commit 383eb3c

Browse files
committed
run prettier
1 parent e54218e commit 383eb3c

File tree

14 files changed

+143358
-41
lines changed

14 files changed

+143358
-41
lines changed

app/api/sentry-tunnel/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export async function POST(req: NextRequest) {
5858
{
5959
status: 500,
6060
headers: corsHeaders,
61-
}
61+
},
6262
);
6363
}
6464
}

app/apis/[providerSlug]/[serviceSlug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export async function generateStaticParams() {
138138
}
139139
}
140140

141-
console.log("Generated static params:", params);
141+
142142
return params;
143143
}
144144

app/studio/[[...tool]]/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
* https://github.com/sanity-io/next-sanity
88
*/
99

10-
import { NextStudio } from 'next-sanity/studio'
11-
import config from '../../../sanity.config'
10+
import { NextStudio } from "next-sanity/studio";
11+
import config from "../../../sanity.config";
1212

13-
export const dynamic = 'force-static'
13+
export const dynamic = "force-static";
1414

15-
export { metadata, viewport } from 'next-sanity/studio'
15+
export { metadata, viewport } from "next-sanity/studio";
1616

1717
export default function StudioPage() {
18-
return <NextStudio config={config} />
19-
}
18+
return <NextStudio config={config} />;
19+
}

components/FormAddApi.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default function FormAddApi() {
151151
}
152152
if (res.ok && formData.url.endsWith("ai-plugin.json")) {
153153
const content = await res.json();
154-
console.log(content);
154+
155155
setFormData((prev) => ({
156156
...prev,
157157
name: content.name_for_human,

components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default function Header() {
9090
(pathname === item.href ||
9191
(item.href === "/" && pathname?.startsWith("/apis/")))
9292
? 'after:block after:content-[""] after:h-0.5 after:bg-amber-500 after:absolute after:bottom-0 after:left-0 after:right-0 after:scale-x-100'
93-
: 'hover:after:scale-x-100 after:block after:content-[""] after:h-0.5 after:bg-amber-500 after:absolute after:bottom-0 after:left-0 after:right-0 after:transform after:scale-x-0 after:transition-transform after:duration-200'
93+
: 'hover:after:scale-x-100 after:block after:content-[""] after:h-0.5 after:bg-amber-500 after:absolute after:bottom-0 after:left-0 after:right-0 after:transform after:scale-x-0 after:transition-transform after:duration-200',
9494
)}
9595
{...(item.external
9696
? { target: "_blank", rel: "noopener noreferrer" }

components/ui/accordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function AccordionTrigger({
3636
data-slot="accordion-trigger"
3737
className={cn(
3838
"ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all hover:underline focus-visible:ring-4 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
39-
className
39+
className,
4040
)}
4141
{...props}
4242
>

components/ui/avatar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function Avatar({
1414
data-slot="avatar"
1515
className={cn(
1616
"relative flex size-8 shrink-0 overflow-hidden rounded-full",
17-
className
17+
className,
1818
)}
1919
{...props}
2020
/>
@@ -43,7 +43,7 @@ function AvatarFallback({
4343
data-slot="avatar-fallback"
4444
className={cn(
4545
"bg-muted flex size-full items-center justify-center rounded-full",
46-
className
46+
className,
4747
)}
4848
{...props}
4949
/>

components/ui/carousel.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function Carousel({
5656
...opts,
5757
axis: orientation === "horizontal" ? "x" : "y",
5858
},
59-
plugins
59+
plugins,
6060
);
6161
const [canScrollPrev, setCanScrollPrev] = React.useState(false);
6262
const [canScrollNext, setCanScrollNext] = React.useState(false);
@@ -85,7 +85,7 @@ function Carousel({
8585
scrollNext();
8686
}
8787
},
88-
[scrollPrev, scrollNext]
88+
[scrollPrev, scrollNext],
8989
);
9090

9191
React.useEffect(() => {
@@ -145,7 +145,7 @@ function CarouselContent({ className, ...props }: React.ComponentProps<"div">) {
145145
className={cn(
146146
"flex",
147147
orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
148-
className
148+
className,
149149
)}
150150
{...props}
151151
/>
@@ -164,7 +164,7 @@ function CarouselItem({ className, ...props }: React.ComponentProps<"div">) {
164164
className={cn(
165165
"min-w-0 shrink-0 grow-0 basis-full",
166166
orientation === "horizontal" ? "pl-4" : "pt-4",
167-
className
167+
className,
168168
)}
169169
{...props}
170170
/>
@@ -189,7 +189,7 @@ function CarouselPrevious({
189189
orientation === "horizontal"
190190
? "top-1/2 -left-12 -translate-y-1/2"
191191
: "-top-12 left-1/2 -translate-x-1/2 rotate-90",
192-
className
192+
className,
193193
)}
194194
disabled={!canScrollPrev}
195195
onClick={scrollPrev}
@@ -219,7 +219,7 @@ function CarouselNext({
219219
orientation === "horizontal"
220220
? "top-1/2 -right-12 -translate-y-1/2"
221221
: "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
222-
className
222+
className,
223223
)}
224224
disabled={!canScrollNext}
225225
onClick={scrollNext}
@@ -275,7 +275,7 @@ function CarouselDots({
275275
"w-8 h-8 flex items-center justify-center": true,
276276
},
277277
"hover:bg-primary/5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
278-
"disabled:pointer-events-none disabled:opacity-50"
278+
"disabled:pointer-events-none disabled:opacity-50",
279279
)}
280280
aria-label={`Go to slide ${index + 1}`}
281281
>
@@ -286,7 +286,7 @@ function CarouselDots({
286286
"w-2 h-2": size === "sm",
287287
"w-3 h-3": size === "lg",
288288
},
289-
selectedIndex === index ? "bg-primary" : "bg-primary/30"
289+
selectedIndex === index ? "bg-primary" : "bg-primary/30",
290290
)}
291291
/>
292292
</button>
@@ -321,7 +321,7 @@ function CarouselCounter({
321321
<div
322322
className={cn(
323323
"text-sm text-muted-foreground flex justify-center mt-4",
324-
className
324+
className,
325325
)}
326326
{...props}
327327
>

components/ui/dialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function DialogOverlay({
3939
data-slot="dialog-overlay"
4040
className={cn(
4141
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
42-
className
42+
className,
4343
)}
4444
{...props}
4545
/>
@@ -61,7 +61,7 @@ function DialogContent({
6161
data-slot="dialog-content"
6262
className={cn(
6363
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
64-
className
64+
className,
6565
)}
6666
{...props}
6767
>
@@ -96,7 +96,7 @@ function DialogFooter({ className, ...props }: React.ComponentProps<"div">) {
9696
data-slot="dialog-footer"
9797
className={cn(
9898
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
99-
className
99+
className,
100100
)}
101101
{...props}
102102
/>

components/ui/form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type FormFieldContextValue<
2626
};
2727

2828
const FormFieldContext = React.createContext<FormFieldContextValue>(
29-
{} as FormFieldContextValue
29+
{} as FormFieldContextValue,
3030
);
3131

3232
const FormField = <
@@ -70,7 +70,7 @@ type FormItemContextValue = {
7070
};
7171

7272
const FormItemContext = React.createContext<FormItemContextValue>(
73-
{} as FormItemContextValue
73+
{} as FormItemContextValue,
7474
);
7575

7676
function FormItem({ className, ...props }: React.ComponentProps<"div">) {

0 commit comments

Comments
 (0)