Removed console messages in mcs-users module (#65)

Removed console messages in mcs-users module
This commit is contained in:
Alex
2020-04-13 19:06:43 -05:00
committed by GitHub
parent ac5732970c
commit 0211827c74
3 changed files with 2 additions and 11 deletions

View File

@@ -127,6 +127,7 @@ export const RadioGroupSelector = ({
{selectorOptions.map(selectorOption => {
return (
<FormControlLabel
key={`rd-${name}-${selectorOption.value}`}
value={selectorOption.value}
control={<RadioButton />}
label={selectorOption.label}

View File

@@ -14,10 +14,8 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
import React from "react";
import Typography from "@material-ui/core/Typography";
import { Dialog, DialogContent, DialogTitle } from "@material-ui/core";
import IconButton from "@material-ui/core/IconButton";
import CloseIcon from "@material-ui/icons/Close";
import { createStyles, Theme, withStyles } from "@material-ui/core/styles";
interface IModalProps {

View File

@@ -17,14 +17,7 @@
import React from "react";
import Grid from "@material-ui/core/Grid";
import Typography from "@material-ui/core/Typography";
import {
Button,
Dialog,
DialogContent,
DialogTitle,
LinearProgress,
TextField
} from "@material-ui/core";
import { Button, LinearProgress } from "@material-ui/core";
import { createStyles, Theme, withStyles } from "@material-ui/core/styles";
import api from "../../../common/api";
import { User } from "./types";
@@ -171,7 +164,6 @@ class AddUserContent extends React.Component<
api
.invoke("GET", `/api/v1/users/${selectedUser.accessKey}`)
.then(res => {
console.log(res);
this.setState({
addLoading: false,
addError: "",