From 240973af1e1aa8837dc8432c754a7bf1bee0a331 Mon Sep 17 00:00:00 2001 From: Benjamin Perez Date: Mon, 13 Apr 2020 10:36:58 -0500 Subject: [PATCH] Removed console messages in mcs-users module Removed console messages in mcs-users module --- .../RadioGroupSelector/RadioGroupSelector.tsx | 1 + .../Console/Common/ModalWrapper/ModalWrapper.tsx | 2 -- portal-ui/src/screens/Console/Users/AddUser.tsx | 10 +--------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/portal-ui/src/screens/Console/Common/FormComponents/RadioGroupSelector/RadioGroupSelector.tsx b/portal-ui/src/screens/Console/Common/FormComponents/RadioGroupSelector/RadioGroupSelector.tsx index 0dc64dc272..f0d3a56e10 100644 --- a/portal-ui/src/screens/Console/Common/FormComponents/RadioGroupSelector/RadioGroupSelector.tsx +++ b/portal-ui/src/screens/Console/Common/FormComponents/RadioGroupSelector/RadioGroupSelector.tsx @@ -127,6 +127,7 @@ export const RadioGroupSelector = ({ {selectorOptions.map(selectorOption => { return ( } label={selectorOption.label} diff --git a/portal-ui/src/screens/Console/Common/ModalWrapper/ModalWrapper.tsx b/portal-ui/src/screens/Console/Common/ModalWrapper/ModalWrapper.tsx index 18662e8d6b..78a161f471 100644 --- a/portal-ui/src/screens/Console/Common/ModalWrapper/ModalWrapper.tsx +++ b/portal-ui/src/screens/Console/Common/ModalWrapper/ModalWrapper.tsx @@ -14,10 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . 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 { diff --git a/portal-ui/src/screens/Console/Users/AddUser.tsx b/portal-ui/src/screens/Console/Users/AddUser.tsx index a567b680c0..da44cbcf64 100644 --- a/portal-ui/src/screens/Console/Users/AddUser.tsx +++ b/portal-ui/src/screens/Console/Users/AddUser.tsx @@ -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: "",