feat: Add new design closer to gremiumhub landing
This commit is contained in:
@@ -71,9 +71,7 @@ export function useSectionSpawning() {
|
||||
const newSection = spawnSectionFromTemplate(templateSection, element.reference!, triggerValue)
|
||||
|
||||
// Find template index
|
||||
const templateIndex = sections.findIndex(
|
||||
(s) => s.isTemplate && s.templateReference === trigger.templateReference
|
||||
)
|
||||
const templateIndex = sections.findIndex((s) => s.isTemplate && s.templateReference === trigger.templateReference)
|
||||
|
||||
if (templateIndex === -1) {
|
||||
// Fallback: append if template not found (shouldn't happen)
|
||||
|
||||
Reference in New Issue
Block a user