From 280f1b733834767b25c3b302dc318a5437851f49 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Wed, 12 Feb 2025 01:56:19 -0500 Subject: fixed api errors when queries miss --- src/components/chatbubble.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/chatbubble.jsx b/src/components/chatbubble.jsx index 9494ecb..14368ec 100644 --- a/src/components/chatbubble.jsx +++ b/src/components/chatbubble.jsx @@ -69,7 +69,7 @@ export default function ChatBubble({ id, position, text }) { setMessages(data); }); } else if (res.status == 401) { - alert('you are not allowed to delete this') + alert('you are not allowed to edit this') } }); } -- cgit v1.2.3