refactor: upgrade base-ui

This commit is contained in:
Carlos Valente
2025-07-01 21:03:21 +02:00
committed by Carlos Valente
parent 24a3823d3b
commit d06b5af538
5 changed files with 2028 additions and 2561 deletions
@@ -73,7 +73,6 @@ function SecondarySourceControl() {
<>
<Select
value={value}
placeholder='Secondary source'
options={[
{ value: 'aux1', label: 'Aux 1' },
{ value: 'aux2', label: 'Aux 2' },
@@ -70,14 +70,12 @@ function EventTriggerForm({ eventId, triggers }: EventTriggerFormProps) {
<div className={style.triggerForm}>
<Select
value={cycleValue}
placeholder='Choose a trigger'
onChange={(value) => setCycleValue(value)}
options={eventTriggerOptions.map((cycle) => ({ value: cycle, label: cycle }))}
/>
<Select
value={automationId}
placeholder='Choose an automation'
onChange={(value) => setAutomationId(value)}
options={Object.values(automationSettings.automations).map(({ id, title }) => ({ value: id, label: title }))}
/>