forked from mystiq/hydrogen-web
remove dead code
This commit is contained in:
parent
695996d6e2
commit
5f362cbdbd
1 changed files with 0 additions and 4 deletions
|
@ -28,10 +28,6 @@ export class ConsoleLogger extends BaseLogger {
|
||||||
|
|
||||||
const excludedKeysFromTable = ["l", "id"];
|
const excludedKeysFromTable = ["l", "id"];
|
||||||
function filterValues(values: LogItemValues): LogItemValues | null {
|
function filterValues(values: LogItemValues): LogItemValues | null {
|
||||||
if (!values) {
|
|
||||||
// todo: is this check here unnecessary because LogItem will always have values?
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return Object.entries(values)
|
return Object.entries(values)
|
||||||
.filter(([key]) => !excludedKeysFromTable.includes(key))
|
.filter(([key]) => !excludedKeysFromTable.includes(key))
|
||||||
.reduce((obj: LogItemValues, [key, value]) => {
|
.reduce((obj: LogItemValues, [key, value]) => {
|
||||||
|
|
Loading…
Reference in a new issue