diff options
author | 2022-12-01 00:33:39 +0530 | |
---|---|---|
committer | 2022-11-30 19:03:39 +0000 | |
commit | 6df93308d7a93cccb281f3e979668df23007ab5d (patch) | |
tree | 7cce68384707b3bec22c1b5f7b37b9be63bb1ce8 /src/features/workspaces/components/EditWorkspaceForm.tsx | |
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/features/workspaces/components/EditWorkspaceForm.tsx')
-rw-r--r-- | src/features/workspaces/components/EditWorkspaceForm.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/workspaces/components/EditWorkspaceForm.tsx b/src/features/workspaces/components/EditWorkspaceForm.tsx index a860ac2e8..d902d29be 100644 --- a/src/features/workspaces/components/EditWorkspaceForm.tsx +++ b/src/features/workspaces/components/EditWorkspaceForm.tsx | |||
@@ -3,6 +3,7 @@ import { observer } from 'mobx-react'; | |||
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; |
4 | import { Link } from 'react-router-dom'; | 4 | import { Link } from 'react-router-dom'; |
5 | import withStyles, { WithStylesProps } from 'react-jss'; | 5 | import withStyles, { WithStylesProps } from 'react-jss'; |
6 | import { noop } from 'lodash'; | ||
6 | import Infobox from '../../../components/ui/infobox/index'; | 7 | import Infobox from '../../../components/ui/infobox/index'; |
7 | import Input from '../../../components/ui/input'; | 8 | import Input from '../../../components/ui/input'; |
8 | import Button from '../../../components/ui/button'; | 9 | import Button from '../../../components/ui/button'; |
@@ -127,7 +128,7 @@ class EditWorkspaceForm extends Component<IProps> { | |||
127 | const values = f.values(); | 128 | const values = f.values(); |
128 | onSave(values); | 129 | onSave(values); |
129 | }, | 130 | }, |
130 | onError: async () => {}, | 131 | onError: noop, |
131 | }); | 132 | }); |
132 | } | 133 | } |
133 | 134 | ||