refactor(doc-search-view): Hinzufügen eines Fehlerprotokolls unter der Standard-Fallanweisung.

This commit is contained in:
tekh 2025-07-07 13:25:17 +02:00
parent 042a1a76c3
commit 593f4deb3e

View File

@ -111,8 +111,7 @@ export function DocSearchView({ posts }: Props) {
filterComp = <DateTimeFilter label={filter.label ?? filter.name} />
break;
default:
filterComp = <TextField label={filter.label ?? filter.type} variant="filled" />
break;
console.error(`Unknown filter type: ${filter.type}`);
}
return (
<Box