Очистка неиспользуемого и оптимизация

This commit is contained in:
2025-07-22 08:01:32 +03:00
parent 3275cdc661
commit 3a1bb42aee
9 changed files with 62 additions and 906 deletions

View File

@@ -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('Движок ещё не инициализирован')