diff --git a/apps/demo-nextjs-app-router/app/comfy/image_to_image/page.tsx b/apps/demo-nextjs-app-router/app/comfy/image_to_image/page.tsx index cadc6b6..0b5059f 100644 --- a/apps/demo-nextjs-app-router/app/comfy/image_to_image/page.tsx +++ b/apps/demo-nextjs-app-router/app/comfy/image_to_image/page.tsx @@ -47,7 +47,7 @@ function Error(props: ErrorProps) { const DEFAULT_PROMPT = 'photograph of victorian woman with wings, sky clouds, meadow grass'; -export function Index() { +export default function ComfyImageToImagePage() { // @snippet:start("client.ui.state") // Input state const [prompt, setPrompt] = useState(DEFAULT_PROMPT); @@ -201,5 +201,3 @@ export function Index() { ); } - -export default Index; diff --git a/apps/demo-nextjs-app-router/app/comfy/image_to_video/page.tsx b/apps/demo-nextjs-app-router/app/comfy/image_to_video/page.tsx index 98239a1..e969294 100644 --- a/apps/demo-nextjs-app-router/app/comfy/image_to_video/page.tsx +++ b/apps/demo-nextjs-app-router/app/comfy/image_to_video/page.tsx @@ -44,7 +44,7 @@ function Error(props: ErrorProps) { ); } -export function Index() { +export default function ComfyImageToVideoPage() { // @snippet:start("client.ui.state") // Input state const [imageFile, setImageFile] = useState(null); @@ -179,5 +179,3 @@ export function Index() { ); } - -export default Index; diff --git a/apps/demo-nextjs-app-router/app/comfy/text_to_image/page.tsx b/apps/demo-nextjs-app-router/app/comfy/text_to_image/page.tsx index 0a2f3ed..eb7810a 100644 --- a/apps/demo-nextjs-app-router/app/comfy/text_to_image/page.tsx +++ b/apps/demo-nextjs-app-router/app/comfy/text_to_image/page.tsx @@ -47,7 +47,7 @@ function Error(props: ErrorProps) { const DEFAULT_PROMPT = 'a city landscape of a cyberpunk metropolis, raining, purple, pink and teal neon lights, highly detailed, uhd'; -export function Index() { +export default function ComfyTextToImagePage() { // @snippet:start("client.ui.state") // Input state const [prompt, setPrompt] = useState(DEFAULT_PROMPT); @@ -171,5 +171,3 @@ export function Index() { ); } - -export default Index;