mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
improve typing and fixed import
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import React from "react";
|
||||
|
||||
import InputField from "../../components/forms/InputField";
|
||||
import { SubmitButton, Button } from "../../components/buttons";
|
||||
import { SubmitButton } from "../../components/buttons";
|
||||
import { translate } from "react-i18next";
|
||||
import type { Group } from "../types/Group";
|
||||
import * as validator from "./groupValidation";
|
||||
@@ -117,8 +117,7 @@ class GroupForm extends React.Component<Props, State> {
|
||||
members: usernames
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
addUser = (username: string) => {
|
||||
if (this.isMember(username)) {
|
||||
|
||||
Reference in New Issue
Block a user