aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorLibravatar muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>2022-12-01 00:33:39 +0530
committerLibravatar GitHub <noreply@github.com>2022-11-30 19:03:39 +0000
commit6df93308d7a93cccb281f3e979668df23007ab5d (patch)
tree7cce68384707b3bec22c1b5f7b37b9be63bb1ce8 /src/features
parentfix: [#809] unable to save custom icon for any service (#811) (diff)
downloadferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.tar.gz
ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.tar.zst
ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.zip
chore: [#42] use noop consistently throughout (#808)
Diffstat (limited to 'src/features')
-rw-r--r--src/features/workspaces/components/EditWorkspaceForm.tsx3
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';
3import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; 3import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl';
4import { Link } from 'react-router-dom'; 4import { Link } from 'react-router-dom';
5import withStyles, { WithStylesProps } from 'react-jss'; 5import withStyles, { WithStylesProps } from 'react-jss';
6import { noop } from 'lodash';
6import Infobox from '../../../components/ui/infobox/index'; 7import Infobox from '../../../components/ui/infobox/index';
7import Input from '../../../components/ui/input'; 8import Input from '../../../components/ui/input';
8import Button from '../../../components/ui/button'; 9import 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