Skip to content

Commit

Permalink
merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
itsliterallymonique committed Dec 6, 2024
1 parent feb8179 commit fe38f76
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/maps/AddMarkers.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect, useMemo, useRef, useState } from 'react';
import { useEffect, useMemo, useRef } from 'react';
import ReactDOM from 'react-dom/client';
import { Cluster, MarkerClusterer } from '@googlemaps/markerclusterer';
import { useMap } from '@vis.gl/react-google-maps';
Expand Down
15 changes: 15 additions & 0 deletions api/maps/style.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { CSSProperties } from 'styled-components';

export const InfoWindowStyle: CSSProperties = {
height: '0.3rem',
display: 'flex',
alignItems: 'center',
alignContent: 'center',
padding: '0.1rem 0',
};

/*= styled.div`
display: flex;
align-items: center;
height: 1rem;
`;*/
3 changes: 2 additions & 1 deletion components/Map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const mapId = '54eb1c7baba5a715'; // needed for AdvancedMarker
export default function Map({
projects,
selectedProjectId,
filteredProjects,
map,
setMap,
setSelectedProjectId,
Expand All @@ -57,7 +58,7 @@ export default function Map({
>
<AddMarkers
projects={projects}
filteredProjects={filteredProjects}
filteredProjects={filteredProjects}
map={map}
setMap={setMap}
selectedProjectId={selectedProjectId}
Expand Down

0 comments on commit fe38f76

Please sign in to comment.