mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #23940 from overleaf/td-react-18
Upgrade to React 18 GitOrigin-RevId: 9b81936e6eea2bccd97fe5c2c5841f0b946371b8
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ function DocumentDiffViewer({
|
||||
|
||||
// Append the editor view DOM to the container node when mounted
|
||||
const containerRef = useCallback(
|
||||
node => {
|
||||
(node: HTMLDivElement) => {
|
||||
if (node) {
|
||||
node.appendChild(view.dom)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user