Skip to content

Commit

Permalink
fix: remove redundant block update call
Browse files Browse the repository at this point in the history
  • Loading branch information
chilingling authored and kevinmoch committed Dec 4, 2024
1 parent 3dbd42a commit 983b510
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/plugins/block/src/js/blockSetting.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@ const updateBlock = (block = {}) => {
useBlock().initBlock(data, {}, true)
}

useBlock().initBlock(data, {}, true)
// 弹出保存区块成功
useModal().message({ message: '保存区块成功!', status: 'success' })
// 本地生成区块服务
Expand Down

0 comments on commit 983b510

Please sign in to comment.