edit profile
This commit is contained in:
parent
0a5bc6d258
commit
30d8dee61c
@ -1,6 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { CForm, CCol, CFormLabel, CContainer, CRow, CCardGroup, CCard, CCardBody, CFormInput, CFormSelect, CFormCheck, CButton } from '@coreui/react'
|
import { CForm, CCol, CFormLabel, CContainer, CRow, CCardGroup, CCard, CCardBody, CFormInput, CFormSelect, CFormCheck, CButton } from '@coreui/react'
|
||||||
import { Country, City } from 'country-state-city'
|
|
||||||
import { useState, useEffect } from 'react'
|
import { useState, useEffect } from 'react'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import { useHistory } from 'react-router-dom'
|
import { useHistory } from 'react-router-dom'
|
||||||
@ -19,8 +19,7 @@ const EditProfile = () => {
|
|||||||
|
|
||||||
})
|
})
|
||||||
const history = useHistory()
|
const history = useHistory()
|
||||||
const [processing, setProcessing] = useState(false)
|
|
||||||
const countries = Country.getAllCountries()
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
||||||
getData()
|
getData()
|
||||||
|
Loading…
Reference in New Issue
Block a user