Make updating code controls async
This commit is contained in:
parent
85dc3028b4
commit
0ee26a8493
27 changed files with 212 additions and 75 deletions
|
@ -9,7 +9,7 @@ export default class Rectangle extends CodeShape<RectangleShape> {
|
|||
constructor(props = {} as ShapeProps<RectangleShape>) {
|
||||
super({
|
||||
id: uniqueId(),
|
||||
seed: Math.random(),
|
||||
|
||||
parentId: (window as any).currentPageId,
|
||||
type: ShapeType.Rectangle,
|
||||
isGenerated: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue