refactor: align source-first schema surfaces

This commit is contained in:
“BeeRad”
2026-03-22 20:17:07 +11:00
parent 255377658b
commit b9af8dc385
21 changed files with 267 additions and 93 deletions
+2 -2
View File
@@ -291,7 +291,7 @@ export default function FocusPanel({
};
const startSourceEdit = () => {
setSourceEditValue(currentNode?.source || currentNode?.chunk || '');
setSourceEditValue(currentNode?.source || '');
setSourceEditMode(true);
};
@@ -598,7 +598,7 @@ export default function FocusPanel({
};
const renderSourceSection = () => {
const sourceContent = currentNode?.source || currentNode?.chunk || '';
const sourceContent = currentNode?.source || '';
return (
<section