diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-03-30 15:18:16 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-03-30 15:18:16 -0600 |
commit | acff469ba069b6f090adfd5ed91379c9f146aa77 (patch) | |
tree | e600e951d2e88ffde9252214fe31b8042ca129aa /client/app.jsx | |
parent | 042e3b9862b253fb3c3e59ee628dd9e30edf7e35 (diff) | |
download | locchat-acff469ba069b6f090adfd5ed91379c9f146aa77.tar.gz locchat-acff469ba069b6f090adfd5ed91379c9f146aa77.zip |
Ability to add, remove, update radius and location of chatrooms with a leaflet
Diffstat (limited to 'client/app.jsx')
-rw-r--r-- | client/app.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/app.jsx b/client/app.jsx index c92df86..e69b297 100644 --- a/client/app.jsx +++ b/client/app.jsx @@ -7,7 +7,9 @@ import { useApi } from './utils/use_api'; import { useJwtRefresh } from './utils/use_jwt_refresh'; import { RolesContext } from './utils/roles_context'; import { parseJwt } from './utils/parse_jwt'; +import { Toaster } from 'react-hot-toast'; import './app.css'; +import 'leaflet/dist/leaflet.css'; export const App = () => { const [authToken, setAuthToken] = useState(null); @@ -38,6 +40,7 @@ export const App = () => { <AuthContext.Provider value={[authToken, setAuthToken]}> <ApiContext.Provider value={api}> <RolesContext.Provider value={jwtPayload.roles}> + <Toaster position="top-center" /> <HashRouter> <Router /> </HashRouter> |