Skip to content

Commit

Permalink
feat(component): update map settings display
Browse files Browse the repository at this point in the history
Pin is now like the Map page and, when clicked, displays the popup

fix #3856
  • Loading branch information
Lahuen Garcia committed Sep 26, 2024
1 parent b887ef1 commit c8496fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { IComment } from './discussion.models'

export * from './common.models'
export * from './discussion.models'
export * from './howto.models'
Expand All @@ -15,4 +17,3 @@ export * from './moderation.model'
export interface UserComment extends IComment {
isEditable: boolean
}
export * from './userPreciousPlastic.models'
7 changes: 1 addition & 6 deletions src/pages/UserSettings/SettingsPageMapPin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ import { MAX_PIN_LENGTH } from './constants'

import type { DivIcon } from 'leaflet'
import type { Map } from 'react-leaflet'
import type {
ILatLng,
ILocation,
IMapPinWithDetail,
IUserPPDB,
} from 'src/models'
import type { ILatLng, ILocation, IMapPinWithDetail, IUserDB } from 'src/models'
import type { IFormNotification } from './content/SettingsFormNotifications'

interface IPinProps {
Expand Down

0 comments on commit c8496fb

Please sign in to comment.