Fix frontend typing rebase issue

This commit is contained in:
Weves
2023-12-07 15:30:17 -08:00
committed by Chris Weaver
parent 9599388db8
commit 67a4eb6f6f
2 changed files with 2 additions and 2 deletions

View File

@@ -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 }) => (

View File

@@ -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)])
), ),
]); ]);
}} }}