From b249828850379ec568345d70ed7548fd5b3a2475 Mon Sep 17 00:00:00 2001 From: carkom Date: Mon, 15 Jan 2024 14:20:05 +0000 Subject: [PATCH] typecheck --- packages/desktop-client/src/components/filters/FilterEditor.tsx | 2 +- .../desktop-client/src/components/filters/FilterExpression.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/desktop-client/src/components/filters/FilterEditor.tsx b/packages/desktop-client/src/components/filters/FilterEditor.tsx index a106787de18..d24af3aad7d 100644 --- a/packages/desktop-client/src/components/filters/FilterEditor.tsx +++ b/packages/desktop-client/src/components/filters/FilterEditor.tsx @@ -10,7 +10,7 @@ type FilterEditorProps = { field: string; op: string; value: string | number; - options: Array<[number, string]>; + options: { inflow; outflow }; onSave: (any) => void; onClose: () => void; }; diff --git a/packages/desktop-client/src/components/filters/FilterExpression.tsx b/packages/desktop-client/src/components/filters/FilterExpression.tsx index cc3b46ceaeb..d0ddff5b50e 100644 --- a/packages/desktop-client/src/components/filters/FilterExpression.tsx +++ b/packages/desktop-client/src/components/filters/FilterExpression.tsx @@ -18,7 +18,7 @@ type FilterExpressionProps = { customName: string; op: string; value: string | number; - options: Array<[number, string]>; + options: { inflow; outflow }; style?: CSSProperties; onChange: (newFilter) => void; onDelete: () => void;