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} />
|
filterComp = <DateTimeFilter label={filter.label ?? filter.name} />
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
filterComp = <TextField label={filter.label ?? filter.type} variant="filled" />
|
console.error(`Unknown filter type: ${filter.type}`);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user