Преглед изворни кода

Merge pull request #8838 from overleaf/jpa-fix-first-render-done-direction

[web] firstRenderDone is called by the pdf viewer, switch detach roles

GitOrigin-RevId: ec0c3e2637cdfbc512aa14313b674d635e9a1a69
Tim Down пре 4 година
родитељ
комит
38af0054cf
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      services/web/frontend/js/shared/context/detach-compile-context.js

+ 2 - 2
services/web/frontend/js/shared/context/detach-compile-context.js

@@ -269,8 +269,8 @@ export function DetachCompileProvider({ children }) {
   const firstRenderDone = useDetachAction(
     'firstRenderDone',
     _firstRenderDone,
-    'detacher',
-    'detached'
+    'detached',
+    'detacher'
   )
   const setHasLintingError = useDetachAction(
     'setHasLintingError',