Merge pull request #266 from presenton/fix/outline-edit
fix(nextjs): outline edit issue
This commit is contained in:
commit
6a5efc5c98
1 changed files with 3 additions and 1 deletions
|
|
@ -49,7 +49,9 @@ export function OutlineItem({
|
|||
if (isStreaming) return;
|
||||
const newData = outlines?.map((each, idx) => {
|
||||
if (idx === index - 1) {
|
||||
return newOutline
|
||||
return {
|
||||
content: newOutline
|
||||
}
|
||||
}
|
||||
return each;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue