Skip to content

Commit

Permalink
🐛 Fix onChange handlers (#1230)
Browse files Browse the repository at this point in the history
- Addresses a small regression that showed up as a part of the pf5
migration/upgrade.

Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Jul 31, 2023
1 parent 9887ead commit 0c38597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/app/pages/proxies/proxy-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const ProxyForm: React.FC<ProxyFormProps> = ({
className={value ? "http-proxy-checked" : "http-proxy-unchecked"}
label="HTTP proxy"
isChecked={value}
onChange={() => onChange}
onChange={(_, checked) => onChange(checked)}
ref={ref}
/>
)}
Expand Down Expand Up @@ -290,7 +290,7 @@ export const ProxyForm: React.FC<ProxyFormProps> = ({
className={value ? "https-proxy-checked" : "https-proxy-unchecked"}
label="HTTPS proxy"
isChecked={value}
onChange={() => onChange}
onChange={(_, checked) => onChange(checked)}
ref={ref}
/>
)}
Expand Down

0 comments on commit 0c38597

Please sign in to comment.