diff --git a/webapp/src/blocks/block.ts b/webapp/src/blocks/block.ts index a9e165b6d..17a83ae2e 100644 --- a/webapp/src/blocks/block.ts +++ b/webapp/src/blocks/block.ts @@ -49,18 +49,6 @@ class MutableBlock implements IMutableBlock { updateAt = 0 deleteAt = 0 - static duplicate(block: IBlock): IMutableBlock { - const now = Date.now() - - const newBlock = new MutableBlock(block) - newBlock.id = Utils.createGuid() - newBlock.createAt = now - newBlock.updateAt = now - newBlock.deleteAt = 0 - - return newBlock - } - constructor(block: any = {}) { this.id = block.id || Utils.createGuid() this.schema = 1