Skip to content

Commit

Permalink
chore: remove unnecessary positioning for busybar
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Nov 29, 2024
1 parent d7ce226 commit 4b3936e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/MapContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,7 @@ export const MapContainer = ({
return (
<div ref={mapNode} className="size-full">
{selectorOptions?.view && <LayerSelector {...selectorOptions}></LayerSelector>}
{mapView.current && (
<div className="absolute left-0 right-0 top-0">
<BusyBar busy={isDrawing} />
</div>
)}
{mapView.current && <BusyBar busy={isDrawing} />}
</div>
);
};

0 comments on commit 4b3936e

Please sign in to comment.