Skip to content

Commit 37f2a0a

Browse files
committed
correct type
1 parent e2b01c7 commit 37f2a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-data-modeling/src/components/diagram-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const DiagramEditor: React.FunctionComponent<{
174174
};
175175
break;
176176
default:
177-
throw new Error(`Unknown placeholder ${placeholder}`);
177+
throw new Error(`Unknown placeholder ${type}`);
178178
}
179179
setApplyInput(JSON.stringify(placeholder, null, 2));
180180
};

0 commit comments

Comments
 (0)