fix: wrongfull jsx without single parent

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda 2026-01-23 15:17:08 -03:00
parent 190e25228b
commit 8cdba7f858
2 changed files with 2 additions and 9 deletions

View File

@ -42,7 +42,7 @@ export default async function EditorPage({ params }: PageProps) {
// the project was created before these features existed and may need auto-migration
const needsMigration = !rawData.characters && !rawData.variables
return (
return (<>
<div className="flex h-screen flex-col">
<header className="flex items-center justify-between border-b border-zinc-200 bg-white px-4 py-3 dark:border-zinc-700 dark:bg-zinc-900">
<div className="flex items-center gap-4">
@ -103,6 +103,7 @@ export default async function EditorPage({ params }: PageProps) {
needsMigration={needsMigration}
/>
</div>
</>
)
}

View File

@ -4,13 +4,6 @@ export type Position = {
y: number;
};
<<<<<<< HEAD
// Condition type for conditional edges and choice options
export type Condition = {
variableName: string;
operator: '>' | '<' | '==' | '>=' | '<=' | '!=';
value: number;
=======
// Character type: represents a defined character in the project
export type Character = {
id: string;
@ -34,7 +27,6 @@ export type Condition = {
variableId?: string;
operator: '>' | '<' | '==' | '>=' | '<=' | '!=';
value: number | string | boolean;
>>>>>>> ralph/collaboration-and-character-variables
};
// DialogueNode type: represents character speech/dialogue