last master commit
This commit is contained in:
@ -2,10 +2,10 @@ import {useContext, useState} from 'react'
|
||||
import {Link} from 'react-router-dom'
|
||||
import {UserCtx, UserCtxT} from '../context/UserContext';
|
||||
import './Register.css';
|
||||
|
||||
import {registerUser} from '../services/PhpApi';
|
||||
|
||||
const Register = () => {
|
||||
const {registerUser, wait} = useContext<UserCtxT | null>(UserCtx) as UserCtxT;
|
||||
const {wait} = useContext<UserCtxT | null>(UserCtx) as UserCtxT;
|
||||
const [errMsg, setErrMsg] = useState("false");
|
||||
const [successMsg, setSuccessMsg] = useState("false");
|
||||
const [formData, setFormData] = useState({
|
||||
|
||||
Reference in New Issue
Block a user