From f1ae037d93c8725adb918237901732a5946ac8a4 Mon Sep 17 00:00:00 2001 From: Thuan Bui <9248622+10h30@users.noreply.github.com> Date: Thu, 19 Mar 2026 17:28:23 +0700 Subject: [PATCH] feat: remove registerTaxonomy function to streamline taxonomy management --- src/utils/taxonomy.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/utils/taxonomy.ts b/src/utils/taxonomy.ts index 01ddfb1..6d9d6b0 100644 --- a/src/utils/taxonomy.ts +++ b/src/utils/taxonomy.ts @@ -25,10 +25,6 @@ export function getTaxonomyMap(type: string): TaxonomyMap { return taxonomies[type] ?? new Map(); } -export function registerTaxonomy(type: string, data: TaxonomyItem[]): void { - taxonomies[type] = buildMap(data); -} - function buildHierarchicalPath( slug: string, map: TaxonomyMap,