Skip to content

Commit

Permalink
reintroduces style switcher and adds types
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanAndrews300 committed Jan 10, 2025
1 parent 904efa6 commit 667ed89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/MapStyleSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const MapStyleSwitcher: React.FC<MapStyleSwitcherProps> = ({
}) => {
const [activeStyle, setActiveStyle] = useState('DATAVIZ');
const [isHovered, setIsHovered] = useState(false);

type BaseMap = {
name: string;
img: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/PropertyMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ const PropertyMap: FC<PropertyMapProps> = ({
onError={(e) => {
console.log(e);
if (
e.message ===
e.error.cause ===
"The layer 'vacant_properties_tiles_polygons' does not exist in the map's style and cannot be queried for features."
)
setHasLoadingError(true);
Expand Down

0 comments on commit 667ed89

Please sign in to comment.