Browse Source

fix(demo-fixed-layout): catchBlock add error (#326)

xiamidaxia 7 tháng trước cách đây
mục cha
commit
0b4b85da55
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/demo-fixed-layout/src/nodes/catch-block/index.ts

+ 1 - 1
apps/demo-fixed-layout/src/nodes/catch-block/index.ts

@@ -19,7 +19,7 @@ export const CatchBlockNodeRegistry: FlowNodeRegistry = {
   onAdd(ctx, from) {
     return {
       id: `Catch_${nanoid(5)}`,
-      type: 'catchblock',
+      type: 'catchBlock',
       data: {
         title: `Catch Block ${id++}`,
         inputs: {