mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 20:38:32 +02:00
Fix frontend typing rebase issue
This commit is contained in:
@@ -67,7 +67,7 @@ export const UserEditor = ({
|
|||||||
})}
|
})}
|
||||||
onSelect={(option) => {
|
onSelect={(option) => {
|
||||||
setSelectedUserIds([
|
setSelectedUserIds([
|
||||||
...Array.from(new Set([...selectedUserIds, option.value])),
|
...Array.from(new Set([...selectedUserIds, option.value as string])),
|
||||||
]);
|
]);
|
||||||
}}
|
}}
|
||||||
itemComponent={({ option }) => (
|
itemComponent={({ option }) => (
|
||||||
|
@@ -91,7 +91,7 @@ export const AddConnectorForm: React.FC<AddConnectorFormProps> = ({
|
|||||||
onSelect={(option) => {
|
onSelect={(option) => {
|
||||||
setSelectedCCPairIds([
|
setSelectedCCPairIds([
|
||||||
...Array.from(
|
...Array.from(
|
||||||
new Set([...selectedCCPairIds, parseInt(option.value)])
|
new Set([...selectedCCPairIds, parseInt(option.value as string)])
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
}}
|
}}
|
||||||
|
Reference in New Issue
Block a user