create function findValue
This commit is contained in:
parent
de44c57046
commit
1c5346192a
|
|
@ -21,7 +21,7 @@ const ListLog = () => {
|
||||||
|
|
||||||
const findValueInLog = async () =>{
|
const findValueInLog = async () =>{
|
||||||
try {
|
try {
|
||||||
const res = await axios.get(findValue);
|
const res = await axios.post(findValue);
|
||||||
|
|
||||||
setValue(res.data)
|
setValue(res.data)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue