Update Register.js
This commit is contained in:
@@ -1,16 +1,9 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
<<<<<<< HEAD
|
|
||||||
import { Link, Navigate } from 'react-router-dom';
|
import { Link, Navigate } from 'react-router-dom';
|
||||||
import { setAlert } from '../../actions/alert';
|
import { setAlert } from '../../actions/alert';
|
||||||
import { register } from '../../actions/auth';
|
import { register } from '../../actions/auth';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
=======
|
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
import { Link, Navigate } from 'react-router-dom';
|
|
||||||
import { setAlert } from '../../actions/alert';
|
|
||||||
import { register } from '../../actions/auth';
|
|
||||||
>>>>>>> cc38df43629d64ca77f694c971a13a026b3afcfb
|
|
||||||
|
|
||||||
const Register = ({ setAlert, register, isAuthenticated }) => {
|
const Register = ({ setAlert, register, isAuthenticated }) => {
|
||||||
const [formData, setFormData] = useState({
|
const [formData, setFormData] = useState({
|
||||||
|
|||||||
Reference in New Issue
Block a user