From acff469ba069b6f090adfd5ed91379c9f146aa77 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Wed, 30 Mar 2022 15:18:16 -0600 Subject: Ability to add, remove, update radius and location of chatrooms with a leaflet --- client/components/home/_home.jsx | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'client/components/home') diff --git a/client/components/home/_home.jsx b/client/components/home/_home.jsx index 405a968..7ef051c 100644 --- a/client/components/home/_home.jsx +++ b/client/components/home/_home.jsx @@ -4,6 +4,7 @@ import { ApiContext } from '../../utils/api_context'; import { AuthContext } from '../../utils/auth_context'; import { RolesContext } from '../../utils/roles_context'; import { Button } from '../common/button'; +import { Map } from '../map/_map'; import { Ping } from './ping'; export const Home = () => { @@ -33,19 +34,19 @@ export const Home = () => { } return ( -
-

Welcome {user.firstName}

- - {roles.includes('admin') && ( - - )} -
- -
-
+ {roles.includes('admin') && ( + + )} + + + ); }; -- cgit v1.2.3-70-g09d2