Skip to content

Commit

Permalink
fix: downgrade react-native-webview to 13.8.2 to avoid turbomodulereg…
Browse files Browse the repository at this point in the history
…istry error
  • Loading branch information
Wei Shen committed Apr 14, 2024
1 parent 11355dc commit 0cc6485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions leaflet-web/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { createRoot } from 'react-dom/client';
import './styles/index.css';
import { NativeHarness } from './NativeHarness';

const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
const root = createRoot(document.getElementById('root') as HTMLElement);
root.render(
<React.StrictMode>
<NativeHarness />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"react-fast-compare": "^3.2.2",
"react-native": "0.73.0",
"react-native-builder-bob": "^0.20.0",
"react-native-webview": "^13.8.4",
"react-native-webview": "^13.8.2",
"release-it": "^15.0.0",
"turbo": "^1.10.7",
"typescript": "^5.4.3"
Expand Down

0 comments on commit 0cc6485

Please sign in to comment.