Очистка неиспользуемого и оптимизация
This commit is contained in:
@@ -441,16 +441,6 @@ const ProtocolForm: FC<ProtocolFormProps> = ({ template, onSave, onBack }) => {
|
||||
}
|
||||
onSave(data)
|
||||
|
||||
// console.log(
|
||||
// '[DBG] template elements',
|
||||
// template.elements.map(e => ({
|
||||
// id: e.id,
|
||||
// label: e.label,
|
||||
// target: e.targetCells,
|
||||
// type: e.type,
|
||||
// }))
|
||||
// )
|
||||
|
||||
try {
|
||||
if (!engineRef.current) {
|
||||
alert('Движок ещё не инициализирован')
|
||||
|
||||
Reference in New Issue
Block a user