Skip to content

Commit

Permalink
feat: default to protomaps base layer
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Sep 25, 2024
1 parent 93bf546 commit e36c7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MapState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const reducer = (state: MapState, newState: MapState) => {

export const MapStateProvider = ({ children }) => {
const initialFilterState = config.getSettings(FILTERS_KEY) || [];
const useProtomaps = config.getSettings(BASEMAP_KEY) === 'protomaps';
const useProtomaps = config.getSettings(BASEMAP_KEY) !== 'osm';

// default any unsaved filters as 'false'
config.filters.forEach((filter) => {
Expand Down

0 comments on commit e36c7ae

Please sign in to comment.