Skip to content

Commit

Permalink
chore: drop old unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
benfurber committed Nov 21, 2024
1 parent 39f6f6b commit 4761818
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 439 deletions.
58 changes: 0 additions & 58 deletions packages/components/src/MapMemberCard/MapMemberCard.stories.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions packages/components/src/MapMemberCard/MapMemberCard.test.tsx

This file was deleted.

94 changes: 0 additions & 94 deletions packages/components/src/MapMemberCard/MapMemberCard.tsx

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export { Loader } from './Loader/Loader'
export { Map } from './Map/Map.client'
export { MapFilterList } from './MapFilterList/MapFilterList'
export { MapFilterProfileTypeCardList } from './MapFilterProfileTypeCardList/MapFilterProfileTypeCardList'
export { MapMemberCard } from './MapMemberCard/MapMemberCard'
export { MapWithPin } from './MapWithPin/MapWithPin.client'
export { MemberBadge } from './MemberBadge/MemberBadge'
export { Modal } from './Modal/Modal'
Expand Down
4 changes: 1 addition & 3 deletions src/pages/Maps/Content/MapView/Popup.client.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import React, { useEffect, useRef } from 'react'
import { Popup as LeafletPopup } from 'react-leaflet'
import L from 'leaflet'
import { MapMemberCard, PinProfile } from 'oa-components'
import { IModerationStatus } from 'oa-shared'
import { MAP_GROUPINGS } from 'src/stores/Maps/maps.groupings'
import { PinProfile } from 'oa-components'

import type { ILatLng, IMapPin, IMapPinWithDetail } from 'oa-shared'
import type { Map } from 'react-leaflet'
Expand Down
1 change: 0 additions & 1 deletion src/pages/UserSettings/SettingsPageMapPin.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ vi.mock('src/common/hooks/useCommonStores', () => ({
},
mapsStore: {
getPin: vi.fn().mockResolvedValue(mockPin),
getPinDetail: vi.fn().mockResolvedValue(mockPin),
},
themeStore: {
currentTheme: {
Expand Down
53 changes: 0 additions & 53 deletions src/stores/Maps/filter.test.ts

This file was deleted.

30 changes: 0 additions & 30 deletions src/stores/Maps/filter.ts

This file was deleted.

84 changes: 0 additions & 84 deletions src/stores/Maps/maps.groupings.ts

This file was deleted.

Loading

0 comments on commit 4761818

Please sign in to comment.