Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/create-job-page' into create-job…
Browse files Browse the repository at this point in the history
…-page
  • Loading branch information
lotif committed May 28, 2024
2 parents d338bf7 + 392584b commit e226bac
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions florist/app/jobs/edit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ export function EditJobServerAttributes({ state, setState }): ReactElement {
value={state.job.model}
onChange={(e) =>
setState(
produce(
(newState) => { newState.job.model = e.target.value; }
),
produce((newState) => {
newState.job.model = e.target.value;
}),
)
}
>
Expand All @@ -183,9 +183,9 @@ export function EditJobServerAttributes({ state, setState }): ReactElement {
value={state.job.server_address}
onChange={(e) =>
setState(
produce(
(newState) => { newState.job.server_address = e.target.value; }
),
produce((newState) => {
newState.job.server_address = e.target.value;
}),
)
}
/>
Expand All @@ -202,9 +202,9 @@ export function EditJobServerAttributes({ state, setState }): ReactElement {
value={state.job.redis_host}
onChange={(e) =>
setState(
produce(
(newState) => { newState.job.redis_host = e.target.value; }
),
produce((newState) => {
newState.job.redis_host = e.target.value;
}),
)
}
/>
Expand All @@ -221,9 +221,9 @@ export function EditJobServerAttributes({ state, setState }): ReactElement {
value={state.job.redis_port}
onChange={(e) =>
setState(
produce(
(newState) => { newState.job.redis_port = e.target.value; }
),
produce((newState) => {
newState.job.redis_port = e.target.value;
}),
)
}
/>
Expand Down Expand Up @@ -307,9 +307,9 @@ export function EditJobServerConfigItem({ index, state, setState }): ReactElemen
className="material-icons opacity-10 input-group-action"
onClick={(e) =>
setState(
produce(
(newState) => { newState.job.server_config.splice(index, 1); }
)
produce((newState) => {
newState.job.server_config.splice(index, 1);
}),
)
}
>
Expand Down Expand Up @@ -427,9 +427,9 @@ export function EditJobClientsInfoItem({ index, state, setState }): ReactElement
className="material-icons opacity-10 input-group-action"
onClick={(e) =>
setState(
produce(
(newState) => { newState.job.clients_info.splice(index, 1); }
)
produce((newState) => {
newState.job.clients_info.splice(index, 1);
}),
)
}
>
Expand Down

0 comments on commit e226bac

Please sign in to comment.