Commit bcf49e15 authored by Malsha Rathnasiri's avatar Malsha Rathnasiri

fix issue

parent 16633fca
...@@ -205,6 +205,8 @@ export default function ChatScreen({ navigation }) { ...@@ -205,6 +205,8 @@ export default function ChatScreen({ navigation }) {
conversation: chatDetails.id, conversation: chatDetails.id,
}).then((response) => { }).then((response) => {
// console.log(response) // console.log(response)
}).catch(e => {
// console.log({e})
}); });
addChats({ addChats({
...@@ -214,7 +216,9 @@ export default function ChatScreen({ navigation }) { ...@@ -214,7 +216,9 @@ export default function ChatScreen({ navigation }) {
conversation: chatDetails.id, conversation: chatDetails.id,
}).then((response) => { }).then((response) => {
// console.log(response) // console.log(response)
}); }).catch(e => {
// console.log({e})
})
setLoading(true); setLoading(true);
setInput(""); setInput("");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment