Skip to content

Commit 880a098

Browse files
committed
fix format
1 parent 8669cdf commit 880a098

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/student/map/_components/BoothMarker.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ export function BoothMarker({ booth, scale }: { booth: Booth; scale: number }) {
2222
height={300}></Image>
2323
</div>
2424
) : (
25-
<div className="text-neutral-200 max-w-[100px] truncate">{booth.exhibitor.name}</div>
25+
<div className="max-w-[100px] truncate text-neutral-200">
26+
{booth.exhibitor.name}
27+
</div>
2628
)}
2729
</div>
2830
</Marker>

src/app/student/map/_components/Sidebar.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import {
3131
} from "lucide-react"
3232
import { useRef, useState } from "react"
3333

34-
3534
export default function Sidebar({
3635
boothsById,
3736
activeBoothId,
@@ -66,7 +65,7 @@ export default function Sidebar({
6665
employments: makeFilter("employments", "Employments", exhibitors),
6766
industries: makeFilter("industries", "Industries", exhibitors)
6867
}
69-
68+
7069
const filterData = useFilterData() || defaultFilters
7170
const [filters, setFilters] = useState<FilterMap>(filterData)
7271

src/components/shared/hooks/useSurveyData.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export function useFilterData() {
1414
? (JSON.parse(rawStoredData) as FilterMap)
1515
: null
1616
setfilterData(storedData)
17-
1817
}, [])
1918
return filterData
2019
}

0 commit comments

Comments
 (0)