diff --git a/app/src/components/VoiceProfiles/ProfileList.tsx b/app/src/components/VoiceProfiles/ProfileList.tsx
index 3c18a296..894cb92a 100644
--- a/app/src/components/VoiceProfiles/ProfileList.tsx
+++ b/app/src/components/VoiceProfiles/ProfileList.tsx
@@ -28,7 +28,9 @@ export function ProfileList() {
// Temporarily apply scroll-margin so it doesn't land flush at the top
el.style.scrollMarginTop = '180px';
el.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'nearest' });
- timeoutId = setTimeout(() => { el.style.scrollMarginTop = ''; }, 500);
+ timeoutId = setTimeout(() => {
+ el.style.scrollMarginTop = '';
+ }, 500);
});
return () => {
cancelAnimationFrame(rafId);
diff --git a/app/src/components/ui/alert-dialog.tsx b/app/src/components/ui/alert-dialog.tsx
index 8119c1db..a3da75ca 100644
--- a/app/src/components/ui/alert-dialog.tsx
+++ b/app/src/components/ui/alert-dialog.tsx
@@ -111,4 +111,4 @@ export {
AlertDialogDescription,
AlertDialogAction,
AlertDialogCancel,
-};
\ No newline at end of file
+};
diff --git a/app/src/lib/hooks/useModelDownloadToast.tsx b/app/src/lib/hooks/useModelDownloadToast.tsx
index d179ed22..921cd976 100644
--- a/app/src/lib/hooks/useModelDownloadToast.tsx
+++ b/app/src/lib/hooks/useModelDownloadToast.tsx
@@ -131,7 +131,8 @@ export function useModelDownloadToast({
)}
),
- duration: progress.status === 'complete' || progress.status === 'error' ? 5000 : Infinity,
+ duration:
+ progress.status === 'complete' || progress.status === 'error' ? 5000 : Infinity,
});
// Close connection and dismiss toast on completion or error
diff --git a/app/src/platform/PlatformContext.tsx b/app/src/platform/PlatformContext.tsx
index 86153e7d..b7b0bf22 100644
--- a/app/src/platform/PlatformContext.tsx
+++ b/app/src/platform/PlatformContext.tsx
@@ -9,11 +9,7 @@ export interface PlatformProviderProps {
}
export function PlatformProvider({ platform, children }: PlatformProviderProps) {
- return (
-
- {children}
-
- );
+ return
{children};
}
export function usePlatform(): Platform {
diff --git a/docs/app/global.css b/docs/app/global.css
index 30af24fa..de752d4c 100644
--- a/docs/app/global.css
+++ b/docs/app/global.css
@@ -1,7 +1,7 @@
-@import 'tailwindcss';
-@import 'fumadocs-ui/css/neutral.css';
-@import 'fumadocs-ui/css/preset.css';
-@import 'fumadocs-openapi/css/preset.css';
+@import "tailwindcss";
+@import "fumadocs-ui/css/neutral.css";
+@import "fumadocs-ui/css/preset.css";
+@import "fumadocs-openapi/css/preset.css";
:root {
--color-fd-primary: hsl(43, 50%, 50%);
diff --git a/docs/app/og/docs/[...slug]/route.tsx b/docs/app/og/docs/[...slug]/route.tsx
index f5df96db..2d741be3 100644
--- a/docs/app/og/docs/[...slug]/route.tsx
+++ b/docs/app/og/docs/[...slug]/route.tsx
@@ -5,22 +5,13 @@ import { generate as DefaultImage } from 'fumadocs-ui/og';
export const revalidate = false;
-export async function GET(
- _req: Request,
- { params }: RouteContext<'/og/docs/[...slug]'>,
-) {
+export async function GET(_req: Request, { params }: RouteContext<'/og/docs/[...slug]'>) {
const { slug } = await params;
const page = source.getPage(slug.slice(0, -1));
if (!page) notFound();
return new ImageResponse(
- (
-
- ),
+
,
{
width: 1200,
height: 630,
diff --git a/docs/source.config.ts b/docs/source.config.ts
index b5ffa0a4..63cedfa8 100644
--- a/docs/source.config.ts
+++ b/docs/source.config.ts
@@ -1,9 +1,4 @@
-import {
- defineConfig,
- defineDocs,
- frontmatterSchema,
- metaSchema,
-} from 'fumadocs-mdx/config';
+import { defineConfig, defineDocs, frontmatterSchema, metaSchema } from 'fumadocs-mdx/config';
// You can customise Zod schemas for frontmatter and `meta.json` here
// see https://fumadocs.dev/docs/mdx/collections
diff --git a/docs/tsconfig.json b/docs/tsconfig.json
index a8f713d3..f2b5062f 100644
--- a/docs/tsconfig.json
+++ b/docs/tsconfig.json
@@ -2,11 +2,7 @@
"compilerOptions": {
"baseUrl": ".",
"target": "ESNext",
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
- ],
+ "lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@@ -20,12 +16,8 @@
"jsx": "react-jsx",
"incremental": true,
"paths": {
- "@/*": [
- "./*"
- ],
- "@/.source": [
- ".source"
- ]
+ "@/*": ["./*"],
+ "@/.source": [".source"]
},
"plugins": [
{
@@ -40,7 +32,5 @@
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
- "exclude": [
- "node_modules"
- ]
+ "exclude": ["node_modules"]
}