Commit 47b370c
committed
Fix linter errors
```
/home/runner/work/react-map-gl/react-map-gl/examples/get-started/hook/controls.jsx
Error: 53:35 error Expected to return a value at the end of arrow function consistent-return
/home/runner/work/react-map-gl/react-map-gl/examples/get-started/hook/controls2.js
Error: 1:9 error 'useMap' is defined but never used no-unused-vars
/home/runner/work/react-map-gl/react-map-gl/examples/get-started/hook/map.jsx
Error: 2:14 error 'useMap' is defined but never used no-unused-vars
```1 parent 9fc4fcb commit 47b370c
3 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments