chore: rename pages
This commit is contained in:
parent
f401edc20b
commit
419ac350c4
@ -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<string>(DEFAULT_PROMPT);
|
||||
@ -201,5 +201,3 @@ export function Index() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Index;
|
||||
|
||||
@ -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<File | null>(null);
|
||||
@ -179,5 +179,3 @@ export function Index() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Index;
|
||||
|
||||
@ -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<string>(DEFAULT_PROMPT);
|
||||
@ -171,5 +171,3 @@ export function Index() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Index;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user