Skip to content

Commit 2189903

Browse files
committed
fix formatting and typo
1 parent 35108ab commit 2189903

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-maplibre/src/components/MlNavigationCompass/MlNavigationCompass.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export interface MlNavigationCompassProps {
7272
needleStyle?: CSSProperties;
7373
}
7474
/**
75-
* Navigation component that displays a compass component which indicates the current oriantation of the map it is registered for and offers controls to turn the bearing 90° left/right or reset north to point up.
75+
* Navigation component that displays a compass component which indicates the current orientation of the map it is registered for and offers controls to turn the bearing 90° left/right or reset north to point up.
7676
*
7777
* All style props are applied using @mui/material/styled to allow more complex css selectors.
7878
*

packages/react-maplibre/src/hooks/useFeatureEditor/useFeatureEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const useFeatureEditor = (props: useFeatureEditorProps) => {
114114

115115
const changeHandler = (ev: unknown) => {
116116
let features: Feature[] = [];
117-
117+
118118
if (ev && typeof ev === 'object' && 'features' in ev && ev.features) {
119119
features = ev.features as Feature[];
120120
}

0 commit comments

Comments
 (0)