refactor(doc-search-view): Hinzufügen eines Fehlerprotokolls unter der Standard-Fallanweisung.
This commit is contained in:
parent
042a1a76c3
commit
593f4deb3e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user