SG
Size: a a a
SG
EP
Е
const [arr, setArr] = React.useState([])
Е
Е
Е
Е
Е
RB
VZ
VZ
RB
YO
Е
Е
Е
RB
YO
Е
useEffect((callback, [] ) => {
axios.get('http://192.168.31.237:8001/api/users/inactive/', {
})
.then(function (response) {
var data = response.data.results
setArr(data)
console.log(arr)
})
.catch(function (error) {
console.log(error);
})
})
Е