Add Handler to stop page refreshing upon submission

This commit is contained in:
Ray 2023-09-12 10:02:20 +00:00 committed by GitHub
parent af5171baa3
commit 90fd5583fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,12 @@ import Col from 'react-bootstrap/Col';
import Button from "react-bootstrap/Button" import Button from "react-bootstrap/Button"
export function Signup ( props ) { export function Signup ( props ) {
const submitHandler = (evt) => {
evt.preventDefault()
}
return ( return (
<Container> <Container>