From 9f0e16b0452374a748474bf66d06dc09b512a4e3 Mon Sep 17 00:00:00 2001 From: lloydzhou Date: Thu, 25 Jul 2024 13:48:21 +0800 Subject: [PATCH] hotfix: ts check --- app/components/ui-lib.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/ui-lib.tsx b/app/components/ui-lib.tsx index 186bce8d6..8ac0f8e9d 100644 --- a/app/components/ui-lib.tsx +++ b/app/components/ui-lib.tsx @@ -453,9 +453,9 @@ export function Selector(props: {
{props.items.map((item, i) => { - // @ts-ignore const selected = props.multiple - ? props.defaultSelectedValue?.includes(item.value) + ? // @ts-ignore + props.defaultSelectedValue?.includes(item.value) : props.defaultSelectedValue === item.value; return (