-
Notifications
You must be signed in to change notification settings - Fork 3
Fixed project submission form redirect #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 1514395049
💛 - Coveralls |
| import TextField from "@mui/material/TextField"; | ||
| import Button from '@mui/material/Button'; | ||
| import Service from "../Service"; | ||
| import FilledInput from '@mui/material/FilledInput'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Strings must use doublequote.
| import FilledInput from '@mui/material/FilledInput'; | |
| import FilledInput from "@mui/material/FilledInput"; |
| import Button from '@mui/material/Button'; | ||
| import Service from "../Service"; | ||
| import FilledInput from '@mui/material/FilledInput'; | ||
| import InputAdornment from '@mui/material/InputAdornment'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Strings must use doublequote.
| import InputAdornment from '@mui/material/InputAdornment'; | |
| import InputAdornment from "@mui/material/InputAdornment"; |
| import Service from "../Service"; | ||
| import FilledInput from '@mui/material/FilledInput'; | ||
| import InputAdornment from '@mui/material/InputAdornment'; | ||
| import FormControl from '@mui/material/FormControl'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Strings must use doublequote.
| import FormControl from '@mui/material/FormControl'; | |
| import FormControl from "@mui/material/FormControl"; |
| fullWidth | ||
| id="filled-basic" | ||
| variant="filled" | ||
| style={{ color:'#218888'}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Strings must use doublequote.
| style={{ color:'#218888'}} | |
| style={{ color:"#218888"}} |
| import { ReactSession } from "react-client-session"; | ||
| import styled from "styled-components"; | ||
| import TextField from "@mui/material/TextField"; | ||
| import Button from '@mui/material/Button'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Strings must use doublequote.
| import Button from '@mui/material/Button'; | |
| import Button from "@mui/material/Button"; |
|
|
||
| <button data-testid="submit_button" onClick={handleSubmit}>Submit</button> | ||
| <br /><br /> | ||
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Missing semicolon.
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} > | |
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute();}} > |
|
|
||
| <button data-testid="submit_button" onClick={handleSubmit}>Submit</button> | ||
| <br /><br /> | ||
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Missing space before =>.
| <Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} > | |
| <Button variant="contained" size="large" data-testid="submit_button" onClick={() =>{handleSubmit();handleRoute()}} > |
|
|
||
| const history=useHistory(); | ||
|
|
||
| const handleRoute = () =>{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Missing space after =>.
| const handleRoute = () =>{ | |
| const handleRoute = () => { |
No description provided.