diff options
author | muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com> | 2022-12-01 00:33:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 19:03:39 +0000 |
commit | 6df93308d7a93cccb281f3e979668df23007ab5d (patch) | |
tree | 7cce68384707b3bec22c1b5f7b37b9be63bb1ce8 /src/components/settings/services | |
parent | fix: [#809] unable to save custom icon for any service (#811) (diff) | |
download | ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.tar.gz ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.tar.zst ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.zip |
Diffstat (limited to 'src/components/settings/services')
-rw-r--r-- | src/components/settings/services/EditServiceForm.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/settings/services/EditServiceForm.tsx b/src/components/settings/services/EditServiceForm.tsx index 7104b1344..2b87dff1e 100644 --- a/src/components/settings/services/EditServiceForm.tsx +++ b/src/components/settings/services/EditServiceForm.tsx | |||
@@ -4,6 +4,7 @@ import { Link } from 'react-router-dom'; | |||
4 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 4 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; |
5 | import normalizeUrl from 'normalize-url'; | 5 | import normalizeUrl from 'normalize-url'; |
6 | import { mdiInformation } from '@mdi/js'; | 6 | import { mdiInformation } from '@mdi/js'; |
7 | import { noop } from 'lodash'; | ||
7 | import Form from '../../../lib/Form'; | 8 | import Form from '../../../lib/Form'; |
8 | import Tabs from '../../ui/Tabs/Tabs'; | 9 | import Tabs from '../../ui/Tabs/Tabs'; |
9 | import TabItem from '../../ui/Tabs/TabItem'; | 10 | import TabItem from '../../ui/Tabs/TabItem'; |
@@ -213,7 +214,7 @@ class EditServiceForm extends Component<IProps, IState> { | |||
213 | 214 | ||
214 | this.setState({ isValidatingCustomUrl: false }); | 215 | this.setState({ isValidatingCustomUrl: false }); |
215 | }, | 216 | }, |
216 | onError: () => {}, | 217 | onError: noop, |
217 | }); | 218 | }); |
218 | } | 219 | } |
219 | 220 | ||