Limit the use of the same shortcut name when adding a shortcut

Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
This commit is contained in:
AmbrishRamachandiran
2023-07-27 15:56:06 +05:30
parent 788afefcf3
commit 3ed5a3fdb9
-2
View File
@@ -41,7 +41,6 @@ const useStyles = makeStyles(theme => ({
type Props = {
formValues?: FormValues;
onSave: SubmitHandler<FormValues>;
// api: ShortcutApi;
onClose: () => void;
allowExternalLinks?: boolean;
};
@@ -49,7 +48,6 @@ type Props = {
export const ShortcutForm = ({
formValues,
onSave,
// api,
onClose,
allowExternalLinks,
}: Props) => {