|
@@ -12,11 +12,7 @@ import { reduceData, getWidth, isSizeChanged, shouldUpdate } from './utils';
|
12
|
12
|
|
13
|
13
|
const AutoHeightWebView = React.memo(
|
14
|
14
|
forwardRef((props, ref) => {
|
15
|
|
- const { style, onMessage, onSizeUpdated, scrollEnabledWithZoomedin, scrollEnabled, source } = props;
|
16
|
|
-
|
17
|
|
- if (!source) {
|
18
|
|
- return null;
|
19
|
|
- }
|
|
15
|
+ const { style, onMessage, onSizeUpdated, scrollEnabledWithZoomedin, scrollEnabled } = props;
|
20
|
16
|
|
21
|
17
|
let webView = useRef();
|
22
|
18
|
useImperativeHandle(ref, () => ({
|