@rerun-io/web-viewer-react 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -39,7 +39,7 @@ export default function WebViewer(props) {
|
|
|
39
39
|
if (parent.current) {
|
|
40
40
|
// Start the web viewer when the parent div is mounted to the DOM.
|
|
41
41
|
const w = new rerun.WebViewer();
|
|
42
|
-
w.start(rrd);
|
|
42
|
+
w.start(rrd, parent.current);
|
|
43
43
|
viewer.current = w;
|
|
44
44
|
return () => {
|
|
45
45
|
// Stop the web viewer when the component is unmounted.
|