Skip to content

Commit abf88f4

Browse files
committed
fix(Map): remove non-functional settings icon from sidebar header
The settings icon was purely decorative with no onClick handler, potentially confusing users who expected it to be interactive.
1 parent 8b9e96d commit abf88f4

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

packages/ui/src/components/Map/MapSidebar.module.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,6 @@
4646
font-weight: var(--ai-font-weight-medium);
4747
}
4848

49-
.settingsIcon {
50-
cursor: pointer;
51-
opacity: 0.7;
52-
transition: opacity 0.2s;
53-
}
54-
55-
.settingsIcon:hover {
56-
opacity: 1;
57-
}
58-
5949
.list {
6050
padding-bottom: var(--ai-spacing-8);
6151
}

packages/ui/src/components/Map/MapSidebar.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { useRef, useEffect, useState, useCallback } from 'react';
22
import { motion, AnimatePresence } from 'framer-motion';
3-
import { Icon } from '../Icon';
43
import { MapPlaceCard } from './MapPlaceCard';
54
import { cn } from '../../utils/cn';
65
import type { LocationData } from './types';
@@ -77,7 +76,6 @@ export const MapSidebar: React.FC<MapSidebarProps> = ({
7776
<div ref={scrollRef} className={styles.scrollContainer}>
7877
<div className={styles.header}>
7978
<span className={styles.resultsCount}>{locations.length} results</span>
80-
<Icon name="settings-cog" size={20} className={styles.settingsIcon} />
8179
</div>
8280
<div className={styles.list}>
8381
{locations.map((location) => (

0 commit comments

Comments
 (0)