Header, Footer, FileUpload
This commit is contained in:
@ -9,7 +9,7 @@ export default function Qr()
|
||||
const { user } = useContext<UserCtxT | null>(UserCtx) as UserCtxT;
|
||||
const [dog, setDog] = useState<DogT | any>({}); // local dog not the dog in UserContext
|
||||
|
||||
if(user)
|
||||
if(user && dog.success === undefined)
|
||||
{
|
||||
Axios.post<ResponseT>('getDog.php',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user