From eb1d0054cb6f8046389176757aedcff31e6824c9 Mon Sep 17 00:00:00 2001
From: muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>
Date: Thu, 1 Dec 2022 00:21:57 +0530
Subject: fix: [#809] unable to save custom icon for any service (#811)

---
 src/components/settings/services/EditServiceForm.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/settings/services/EditServiceForm.tsx')

diff --git a/src/components/settings/services/EditServiceForm.tsx b/src/components/settings/services/EditServiceForm.tsx
index 112e5a452..7104b1344 100644
--- a/src/components/settings/services/EditServiceForm.tsx
+++ b/src/components/settings/services/EditServiceForm.tsx
@@ -402,7 +402,7 @@ class EditServiceForm extends Component<IProps, IState> {
               </div>
               <div className="service-icon">
                 <ImageUpload
-                  {...form.$('customIcon').bind()}
+                  field={form.$('customIcon')}
                   textDelete={intl.formatMessage(messages.iconDelete)}
                   textUpload={intl.formatMessage(messages.iconUpload)}
                   maxSize={2_097_152}
-- 
cgit v1.2.3-70-g09d2

