Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed May 26, 2021
1 parent f802e76 commit ec2c2e4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Layers/Tile.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { MapContext } from '../Map';
import { openlayers } from '../index';
import { getOptions, getEvents, isEqual } from '../helpers';
import { getOptions, getEvents } from '../helpers';

const { layer, source } = openlayers;

Expand Down
2 changes: 1 addition & 1 deletion src/Layers/Vector.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { MapContext } from '../Map';
import { openlayers } from '../index';
import { getOptions, getEvents, isEqual } from '../helpers';
import { getOptions, getEvents } from '../helpers';

const { layer } = openlayers;

Expand Down
2 changes: 1 addition & 1 deletion src/Layers/VectorImage.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { MapContext } from '../Map';
import { openlayers } from '../index';
import { getOptions, getEvents, isEqual } from '../helpers';
import { getOptions, getEvents } from '../helpers';

const { layer } = openlayers;

Expand Down
2 changes: 1 addition & 1 deletion src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function getPropsKey(eventName) {
return (
'on' +
eventName
.replace(/(\:[a-z])/g, ($1) => $1.toUpperCase())
.replace(/(:[a-z])/g, ($1) => $1.toUpperCase())
.replace(/^[a-z]/, ($1) => $1.toUpperCase())
.replace(':', '')
);
Expand Down
2 changes: 1 addition & 1 deletion src/less/map.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

.ol-map {
width: @width;
height: @height;
min-width: @minWidth;
height: @height;
min-height: @minHeight;
}

Expand Down

0 comments on commit ec2c2e4

Please sign in to comment.