commit | 46e9d247b0114d029f1e261eb25f7d19ee34a097 | [log] [tgz] |
---|---|---|
author | Misha Krieger-Raynauld <mkriegerraynauld@gmail.com> | Sat Nov 12 18:02:43 2022 -0500 |
committer | Misha Krieger-Raynauld <mkriegerraynauld@gmail.com> | Sat Nov 12 18:02:43 2022 -0500 |
tree | d546c133b7afaebbd68dff0ba2952ae4eef10e71 | |
parent | 94fe53e94a0131a29bbd83add7b88497c97ad303 [diff] [blame] |
Fix incorrect admin login error handling Change-Id: I68c338b0cb7b261db6c9240cbc5c1e253290e753
diff --git a/client/src/components/ConversationListItem.tsx b/client/src/components/ConversationListItem.tsx index aeef7de..9fa1acc 100644 --- a/client/src/components/ConversationListItem.tsx +++ b/client/src/components/ConversationListItem.tsx
@@ -117,7 +117,7 @@ const getContactDetails = async () => { const controller = new AbortController(); try { - const data = await axiosInstance.get(`/contacts/${userId}`, { + const { data } = await axiosInstance.get(`/contacts/${userId}`, { signal: controller.signal, }); console.log('CONTACT LIST - DETAILS: ', data);