diff --git a/cypress/e2e/modals.cy.ts b/cypress/e2e/modals.cy.ts index 4e3c6e6d..92d6732a 100644 --- a/cypress/e2e/modals.cy.ts +++ b/cypress/e2e/modals.cy.ts @@ -84,7 +84,7 @@ describe("modals", () => { }); it("add new pmtiles source", () => { - let sourceId = "pmtilestest"; + const sourceId = "pmtilestest"; when.setValue("modal:sources.add.source_id", sourceId); when.select("modal:sources.add.source_type", "pmtiles_vector"); when.setValue("modal:sources.add.source_url", "https://data.source.coop/protomaps/openstreetmap/v4.pmtiles"); diff --git a/src/components/MapMaplibreGl.tsx b/src/components/MapMaplibreGl.tsx index e15bf506..31e08b9e 100644 --- a/src/components/MapMaplibreGl.tsx +++ b/src/components/MapMaplibreGl.tsx @@ -149,7 +149,7 @@ class MapMaplibreGlInternal extends React.Component