(type: string)
| 1468 | const modules = data.modules || []; |
| 1469 | |
| 1470 | const getModule = (type: string): IParticleModuleConfig | undefined => { |
| 1471 | return modules.find(m => m.type === type); |
| 1472 | }; |
| 1473 | |
| 1474 | const toggleExpand = (type: string) => { |
| 1475 | setExpandedModules(prev => { |
no test coverage detected