update tcm renderer

This commit is contained in:
ShivaniKhaire 2026-09-29 12:21:32 +05:30
parent b0db08d09a
commit c7ed32b791
2 changed files with 1 additions and 9 deletions

View File

@ -8,14 +8,7 @@ import { Hero } from "./shared/Hero";
import { ImageGallery } from "./shared/ImageGallery";
import { SectionCard } from "./shared/SectionCard";
const RESERVED_KEYS = new Set([
"code",
"name",
"sort_order",
"content_count",
"content_label",
"link",
]);
const RESERVED_KEYS = new Set(["code"]);
/**
* Renderer-independent detail fallback.

View File

@ -172,7 +172,6 @@ export const detailRenderers: Readonly<Record<string, DetailRendererComponent>>
m0017_ct0001_detail: ThreeBurnersDetailRenderer,
m0017_ct0002_detail: ThreeBurnersDetailRenderer,
tcm_pattern_detail: TcmPatternDetailRenderer,
m0012_ct0014_detail: TcmPatternDetailRenderer,
});
function reportMissingRenderer(kind: string, code?: string | null) {
if (__DEV__) {