Skip to content

Commit be65708

Browse files
fix: linting issues in LeafletView component
1 parent 53383a2 commit be65708

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-leaflet-view",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A LeafletView component using WebView and Leaflet map for React Native applications",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

src/LeafletView/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export type LeafletViewProps = {
5454
};
5555

5656
const LeafletView: React.FC<LeafletViewProps> = ({
57-
renderLoading = (() => <LoadingIndicator />),
57+
renderLoading = () => <LoadingIndicator />,
5858
onError,
5959
onLoadEnd,
6060
onLoadStart,
@@ -68,7 +68,7 @@ const LeafletView: React.FC<LeafletViewProps> = ({
6868
doDebug = __DEV__,
6969
androidHardwareAccelerationDisabled,
7070
webviewStyle,
71-
injectedJavaScript
71+
injectedJavaScript,
7272
}) => {
7373
const webViewRef = useRef<WebView>(null);
7474
const [initialized, setInitialized] = useState(false);

0 commit comments

Comments
 (0)