From 1c5346192ad4f026215f3096e3e9db2fb6b1ba01 Mon Sep 17 00:00:00 2001 From: joseph le Date: Thu, 23 Nov 2023 15:38:16 +0700 Subject: [PATCH] create function findValue --- manage-view/src/components/ListLog/ListLog.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage-view/src/components/ListLog/ListLog.jsx b/manage-view/src/components/ListLog/ListLog.jsx index 5b2ac93..5f6237d 100644 --- a/manage-view/src/components/ListLog/ListLog.jsx +++ b/manage-view/src/components/ListLog/ListLog.jsx @@ -21,7 +21,7 @@ const ListLog = () => { const findValueInLog = async () =>{ try { - const res = await axios.get(findValue); + const res = await axios.post(findValue); setValue(res.data) } catch (error) {