From 94f193d9fe6154db98f4e50ebba7f43a09baceb0 Mon Sep 17 00:00:00 2001
From: Phil Owen <19691521+PhillipsOwen@users.noreply.github.com>
Date: Tue, 7 May 2024 11:25:14 -0400
Subject: [PATCH] trying to resync with main
---
src/components/dialog/base-floating-dialog.js | 6 +++---
src/components/map/map.js | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/dialog/base-floating-dialog.js b/src/components/dialog/base-floating-dialog.js
index 64d0394d..48849d95 100644
--- a/src/components/dialog/base-floating-dialog.js
+++ b/src/components/dialog/base-floating-dialog.js
@@ -61,12 +61,12 @@ export default function BaseFloatingDialog({ title, dialogObject, dataKey, dataL
TransitionComponent={Transition}
disableEnforceFocus
style={{ pointerEvents: 'none' }}
- PaperProps={{ sx: { width: 750, height: 510, pointerEvents: 'auto'} }}
- sx={{ width: 750, height: 510, '.MuiBackdrop-root': { backgroundColor: 'transparent' }}}
+ PaperProps={{ sx: { width: 625, height: 510, pointerEvents: 'auto'} }}
+ sx={{ width: 625, height: 510, '.MuiBackdrop-root': { backgroundColor: 'transparent' }}}
>
{ title }
- { dialogObject }
+ { dialogObject }
diff --git a/src/components/map/map.js b/src/components/map/map.js
index 340e52e1..8a39e91d 100644
--- a/src/components/map/map.js
+++ b/src/components/map/map.js
@@ -21,7 +21,7 @@ export const Map = () => {
zoom={5}
zoomControl={false}
scrollWheelZoom={true}
- ref={setMap}
+ whenCreated={setMap}
style={{ height: '100vh', width:'100wh' }}>
{ darkMode.enabled
?