From 16ac4b9f419b19a1fc0de6f3077ec02749aff097 Mon Sep 17 00:00:00 2001 From: Loc Mai Date: Mon, 24 Jul 2023 21:23:21 +0700 Subject: [PATCH] fix: define updateProxy Signed-off-by: Loc Mai --- src/ui/pages/slack_alerts_setup/form.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/pages/slack_alerts_setup/form.jsx b/src/ui/pages/slack_alerts_setup/form.jsx index f789308..74ec735 100644 --- a/src/ui/pages/slack_alerts_setup/form.jsx +++ b/src/ui/pages/slack_alerts_setup/form.jsx @@ -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;