mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-23 14:10:18 +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"]}>
|
<div className={styles["selector-content"]}>
|
||||||
<List>
|
<List>
|
||||||
{props.items.map((item, i) => {
|
{props.items.map((item, i) => {
|
||||||
// @ts-ignore
|
|
||||||
const selected = props.multiple
|
const selected = props.multiple
|
||||||
? props.defaultSelectedValue?.includes(item.value)
|
? // @ts-ignore
|
||||||
|
props.defaultSelectedValue?.includes(item.value)
|
||||||
: props.defaultSelectedValue === item.value;
|
: props.defaultSelectedValue === item.value;
|
||||||
return (
|
return (
|
||||||
<ListItem
|
<ListItem
|
||||||
|
Loading…
Reference in New Issue
Block a user