mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-23 06:00:17 +09:00
hotfix: ts check
This commit is contained in:
parent
2efedb1736
commit
9f0e16b045
@ -453,9 +453,9 @@ export function Selector<T>(props: {
|
||||
<div className={styles["selector-content"]}>
|
||||
<List>
|
||||
{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 (
|
||||
<ListItem
|
||||
|
Loading…
Reference in New Issue
Block a user