Skip to content

Commit

Permalink
fix: define updateProxy
Browse files Browse the repository at this point in the history
Signed-off-by: Loc Mai <[email protected]>
  • Loading branch information
locmai committed Jul 24, 2023
1 parent ba086fe commit 16ac4b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/pages/slack_alerts_setup/form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export function SetupForm() {
const updateUrl = useCallback((e, { value }) => update({ ...data, webhook_url: value }));
const updateUser = useCallback((e, { value }) => update({ ...data, from_user: value }));
const updateUserIcon = useCallback((e, { value }) => update({ ...data, from_user_icon: value }));
const updateProxy = useCallback((e, { value }) => update({ ...data, http_proxy: value }));

const slackAppOauthToken = loading ? '' : data.slack_app_oauth_token;
const webhookUrl = loading ? '' : data.webhook_url;
Expand Down

0 comments on commit 16ac4b9

Please sign in to comment.