chore(react/ribbon): unable to create notes in attribute editor

This commit is contained in:
Elian Doran
2025-08-23 20:35:19 +03:00
parent db687197de
commit 82914fc2aa
3 changed files with 23 additions and 27 deletions

View File

@@ -1,10 +1,16 @@
import AttributeEditor from "./components/AttributeEditor";
import { TabContext } from "./ribbon-interface";
export default function OwnedAttributesTab({ note }: TabContext) {
export default function OwnedAttributesTab({ note, notePath, componentId }: TabContext) {
return (
<div className="attribute-list">
{ note && <AttributeEditor note={note} /> }
{ note && (
<AttributeEditor
componentId={componentId}
note={note}
notePath={notePath}
/>
)}
</div>
)
}