mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-10-14 06:20:37 +00:00
Remove unused console.logs
This commit is contained in:
@@ -107,17 +107,6 @@ export default function RelationshipInfo({ data }) {
|
||||
|
||||
const changeConstraint = (key, value) => {
|
||||
const undoKey = `${key}Constraint`;
|
||||
console.log({
|
||||
action: Action.EDIT,
|
||||
element: ObjectType.RELATIONSHIP,
|
||||
rid: data.id,
|
||||
undo: { [undoKey]: data[undoKey] },
|
||||
redo: { [undoKey]: value },
|
||||
message: t("edit_relationship", {
|
||||
refName: data.name,
|
||||
extra: "[constraint]",
|
||||
}),
|
||||
});
|
||||
setUndoStack((prev) => [
|
||||
...prev,
|
||||
{
|
||||
|
Reference in New Issue
Block a user