use clientId instead of id to save client (#30523)

fixes: #30436

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-06-20 14:16:32 +02:00 committed by GitHub
parent 3f25635c3f
commit 8d0e03a271
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,10 +57,7 @@ export const ClientSelect = ({
onFilter={(value) => setSearch(value)}
variant={variant}
isDisabled={isDisabled}
options={clients.map(({ id, clientId }) => ({
key: id!,
value: clientId!,
}))}
options={clients.map(({ clientId }) => clientId!)}
/>
);
};