Skip to content

Commit 7fb992c

Browse files
authored
Fix react-reconciler import extension (#16)
1 parent b7f66fe commit 7fb992c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.yarn/versions/2ce4f480.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
releases:
2+
"@handlewithcare/react-prosemirror": patch

src/findDOMNode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component } from "react";
22
//@ts-expect-error This module isn't typed
3-
import { findCurrentHostFiber } from "react-reconciler/reflection";
3+
import { findCurrentHostFiber } from "react-reconciler/reflection.js";
44

55
// https://github.com/facebook/react/blob/main/packages/shared/ReactInstanceMap.js#L18
66
export function getInstance(key: Component) {

0 commit comments

Comments
 (0)