From 9950ce3bb0ab3de95b545b1cbf0385e2f5647b39 Mon Sep 17 00:00:00 2001 From: macleysousa Date: Wed, 16 Mar 2022 11:24:09 -0300 Subject: [PATCH] Names props error --- .../src/components/TicketListItem/index.js | 6 ++-- frontend/src/pages/Signup/index.js | 28 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/TicketListItem/index.js b/frontend/src/components/TicketListItem/index.js index d0fc01b..f503d04 100644 --- a/frontend/src/components/TicketListItem/index.js +++ b/frontend/src/components/TicketListItem/index.js @@ -105,9 +105,9 @@ const useStyles = makeStyles(theme => ({ marginRight: 5, right: 5, bottom: 5, - background:"#2576D2", + background: "#2576D2", color: "#ffffff", - border:"1px solid #CCC", + border: "1px solid #CCC", padding: 1, paddingLeft: 5, paddingRight: 5, @@ -212,7 +212,7 @@ const TicketListItem = ({ ticket }) => { )} {ticket.whatsappId && ( -
{ticket.whatsapp.name}
+
{ticket.whatsapp?.name}
)} } diff --git a/frontend/src/pages/Signup/index.js b/frontend/src/pages/Signup/index.js index 0d36827..e71ef73 100644 --- a/frontend/src/pages/Signup/index.js +++ b/frontend/src/pages/Signup/index.js @@ -18,10 +18,10 @@ import { InputAdornment, IconButton, Link - } from '@material-ui/core'; - +} from '@material-ui/core'; + import { LockOutlined, Visibility, VisibilityOff } from '@material-ui/icons'; - + import { makeStyles } from "@material-ui/core/styles"; import { i18n } from "../../translate/i18n"; @@ -155,16 +155,16 @@ const SignUp = () => { label={i18n.t("signup.form.password")} type={showPassword ? 'text' : 'password'} InputProps={{ - endAdornment: ( - - setShowPassword((e) => !e)} - > - {showPassword ? : } - - - ) + endAdornment: ( + + setShowPassword((e) => !e)} + > + {showPassword ? : } + + + ) }} /> @@ -178,7 +178,7 @@ const SignUp = () => { > {i18n.t("signup.buttons.submit")} - +