From d4b72c082a12074e55a3bfab65e4cb0bc6c71720 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Fri, 1 Apr 2022 17:09:33 -0600 Subject: [PATCH] Fix message --- client/components/map/chat_room_geoman.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/components/map/chat_room_geoman.jsx b/client/components/map/chat_room_geoman.jsx index 86b5c8a..aa3acf5 100644 --- a/client/components/map/chat_room_geoman.jsx +++ b/client/components/map/chat_room_geoman.jsx @@ -158,7 +158,9 @@ export const Geoman = ({ user, userPos, joinRoom }) => { const { lat: latitude, lng: longitude } = shape.layer.getLatLng(); const chatRoom = await api.post('/chat_rooms', { - name: prompt("What's the name of the chat room?\n(Chat rooms are deleted after 2 hours of inactivity)"), + name: prompt( + "What's the name of the chat room?\n(Chat rooms are deleted after 2 hours of inactivity, unless you are an admin)", + ), latitude, longitude, radius: shape.layer.getRadius(),