Skip to content
Snippets Groups Projects

Issue #49: Adicionar segurança nas rotas

Merged Gabriel Silva Hermida requested to merge issue/49 into development
6 files
+ 70
37
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -8,21 +8,21 @@ import Typography from "@material-ui/core/Typography";
import FieldFooterOptions from "./FieldFooterOptions";
const useStyles = makeStyles(theme => ({
const useStyles = makeStyles((theme) => ({
paper: {
padding: theme.spacing(3),
width: theme.spacing(100),
marginBottom: "2%",
["@media (max-width: 896px)"]: {
width: "300px"
}
width: "300px",
},
},
questionsGrid: {
marginBottom: "20px"
marginBottom: "20px",
},
text: {
color: "black"
}
color: "black",
},
}));
function FormFieldSelect(props) {
@@ -32,9 +32,8 @@ function FormFieldSelect(props) {
* Function to handle the selected answer.
*/
function handleProps() {
console.log(props.answer);
if (props.answer) {
return props.answer.filter(each => {
return props.answer.filter((each) => {
return each.value === "true";
})[0].placement;
} else {
Loading