add an item with acceptsChildren=false

This commit is contained in:
Roman Pominov committed 2022-07-21 18:13:28 +03:00
1 parent 2ecc6c6564
commit bed2cfeb28
1 file changed
+1 -1
@@ -135,7 +135,7 @@ export const Canvas = () => {
},
{ id: "4", style: {}, children: [], acceptsChildren: true },
{ id: "5", style: {}, children: [], acceptsChildren: true },
{ id: "6", style: {}, children: [], acceptsChildren: true },
{ id: "6", style: {}, children: [], acceptsChildren: false },
]);
const [placement, setPalcement] = useState<{