Merge pull request #701 from colouring-london/feature/default_night_mode

Set night mode as a default
This commit is contained in:
Mateusz Konieczny 2021-12-09 17:53:25 +01:00 committed by GitHub
commit 762ae98eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ export const ColouringMap : FC<ColouringMapProps> = ({
children children
}) => { }) => {
const [theme, setTheme] = useState<MapTheme>('light'); const [theme, setTheme] = useState<MapTheme>('night');
const [position, setPosition] = useState(initialMapViewport.position); const [position, setPosition] = useState(initialMapViewport.position);
const [zoom, setZoom] = useState(initialMapViewport.zoom); const [zoom, setZoom] = useState(initialMapViewport.zoom);